naftiko: 1.0.0-alpha2 info: label: Datadog API — Revoke description: 'Datadog API — Revoke. 3 operations. Lead operation: Datadog Revoke Role from an Archive. Self-contained Naftiko capability covering one Datadog business surface.' tags: - Datadog - Revoke created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATADOG_API_KEY: DATADOG_API_KEY capability: consumes: - type: http namespace: datadog-revoke baseUri: https://{subdomain}.{site} description: Datadog API — Revoke business capability. Self-contained, no shared references. resources: - name: api-v2-logs-config-archives-archive_id-readers path: /api/v2/logs/config/archives/{archive_id}/readers operations: - name: removerolefromarchive method: DELETE description: Datadog Revoke Role from an Archive outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-logs-config-restriction_queries-restriction_query_id-roles path: /api/v2/logs/config/restriction_queries/{restriction_query_id}/roles operations: - name: removerolefromrestrictionquery method: DELETE description: Datadog Revoke Role from a Restriction Query outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-roles-role_id-permissions path: /api/v2/roles/{role_id}/permissions operations: - name: removepermissionfromrole method: DELETE description: Datadog Revoke Permission outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.DATADOG_API_KEY}}' exposes: - type: rest namespace: datadog-revoke-rest port: 8080 description: REST adapter for Datadog API — Revoke. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/logs/config/archives/{archive-id}/readers name: api-v2-logs-config-archives-archive-id-readers description: REST surface for api-v2-logs-config-archives-archive_id-readers. operations: - method: DELETE name: removerolefromarchive description: Datadog Revoke Role from an Archive call: datadog-revoke.removerolefromarchive with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/logs/config/restriction-queries/{restriction-query-id}/roles name: api-v2-logs-config-restriction-queries-restriction-query-id-roles description: REST surface for api-v2-logs-config-restriction_queries-restriction_query_id-roles. operations: - method: DELETE name: removerolefromrestrictionquery description: Datadog Revoke Role from a Restriction Query call: datadog-revoke.removerolefromrestrictionquery with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/roles/{role-id}/permissions name: api-v2-roles-role-id-permissions description: REST surface for api-v2-roles-role_id-permissions. operations: - method: DELETE name: removepermissionfromrole description: Datadog Revoke Permission call: datadog-revoke.removepermissionfromrole with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: datadog-revoke-mcp port: 9090 transport: http description: MCP adapter for Datadog API — Revoke. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: datadog-revoke-role-archive description: Datadog Revoke Role from an Archive hints: readOnly: false destructive: true idempotent: true call: datadog-revoke.removerolefromarchive with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-revoke-role-restriction-query description: Datadog Revoke Role from a Restriction Query hints: readOnly: false destructive: true idempotent: true call: datadog-revoke.removerolefromrestrictionquery with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-revoke-permission description: Datadog Revoke Permission hints: readOnly: false destructive: true idempotent: true call: datadog-revoke.removepermissionfromrole with: body: tools.body outputParameters: - type: object mapping: $.