naftiko: 1.0.0-alpha2 info: label: Datadog API — Edit description: 'Datadog API — Edit. 6 operations. Lead operation: Datadog Edit an Api Key. Self-contained Naftiko capability covering one Datadog business surface.' tags: - Datadog - Edit created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATADOG_API_KEY: DATADOG_API_KEY capability: consumes: - type: http namespace: datadog-edit baseUri: https://{subdomain}.{site} description: Datadog API — Edit business capability. Self-contained, no shared references. resources: - name: api-v2-api_keys-api_key_id path: /api/v2/api_keys/{api_key_id} operations: - name: updateapikey method: PATCH description: Datadog Edit an Api Key outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-application_keys-app_key_id path: /api/v2/application_keys/{app_key_id} operations: - name: updateapplicationkey method: PATCH description: Datadog Edit an Application Key outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-authn_mappings-authn_mapping_id path: /api/v2/authn_mappings/{authn_mapping_id} operations: - name: updateauthnmapping method: PATCH description: Datadog Edit an Authn Mapping outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-current_user-application_keys-app_key_id path: /api/v2/current_user/application_keys/{app_key_id} operations: - name: updatecurrentuserapplicationkey method: PATCH description: Datadog Edit an Application Key Owned by Current User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-monitor-policy-policy_id path: /api/v2/monitor/policy/{policy_id} operations: - name: updatemonitorconfigpolicy method: PATCH description: Datadog Edit a Monitor Configuration Policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policy_id in: path type: string description: ID of the monitor configuration policy. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-service_accounts-service_account_id-application_keys-app_key_id path: /api/v2/service_accounts/{service_account_id}/application_keys/{app_key_id} operations: - name: updateserviceaccountapplicationkey method: PATCH description: Datadog Edit an Application Key for This Service Account 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-edit-rest port: 8080 description: REST adapter for Datadog API — Edit. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/api-keys/{api-key-id} name: api-v2-api-keys-api-key-id description: REST surface for api-v2-api_keys-api_key_id. operations: - method: PATCH name: updateapikey description: Datadog Edit an Api Key call: datadog-edit.updateapikey with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/application-keys/{app-key-id} name: api-v2-application-keys-app-key-id description: REST surface for api-v2-application_keys-app_key_id. operations: - method: PATCH name: updateapplicationkey description: Datadog Edit an Application Key call: datadog-edit.updateapplicationkey with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/authn-mappings/{authn-mapping-id} name: api-v2-authn-mappings-authn-mapping-id description: REST surface for api-v2-authn_mappings-authn_mapping_id. operations: - method: PATCH name: updateauthnmapping description: Datadog Edit an Authn Mapping call: datadog-edit.updateauthnmapping with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/current-user/application-keys/{app-key-id} name: api-v2-current-user-application-keys-app-key-id description: REST surface for api-v2-current_user-application_keys-app_key_id. operations: - method: PATCH name: updatecurrentuserapplicationkey description: Datadog Edit an Application Key Owned by Current User call: datadog-edit.updatecurrentuserapplicationkey with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/monitor/policy/{policy-id} name: api-v2-monitor-policy-policy-id description: REST surface for api-v2-monitor-policy-policy_id. operations: - method: PATCH name: updatemonitorconfigpolicy description: Datadog Edit a Monitor Configuration Policy call: datadog-edit.updatemonitorconfigpolicy with: policy_id: rest.policy_id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/service-accounts/{service-account-id}/application-keys/{app-key-id} name: api-v2-service-accounts-service-account-id-application-keys-app-key-id description: REST surface for api-v2-service_accounts-service_account_id-application_keys-app_key_id. operations: - method: PATCH name: updateserviceaccountapplicationkey description: Datadog Edit an Application Key for This Service Account call: datadog-edit.updateserviceaccountapplicationkey with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: datadog-edit-mcp port: 9090 transport: http description: MCP adapter for Datadog API — Edit. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: datadog-edit-api-key description: Datadog Edit an Api Key hints: readOnly: false destructive: false idempotent: true call: datadog-edit.updateapikey with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-edit-application-key description: Datadog Edit an Application Key hints: readOnly: false destructive: false idempotent: true call: datadog-edit.updateapplicationkey with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-edit-authn-mapping description: Datadog Edit an Authn Mapping hints: readOnly: false destructive: false idempotent: true call: datadog-edit.updateauthnmapping with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-edit-application-key-owned description: Datadog Edit an Application Key Owned by Current User hints: readOnly: false destructive: false idempotent: true call: datadog-edit.updatecurrentuserapplicationkey with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-edit-monitor-configuration-policy description: Datadog Edit a Monitor Configuration Policy hints: readOnly: false destructive: false idempotent: true call: datadog-edit.updatemonitorconfigpolicy with: policy_id: tools.policy_id body: tools.body outputParameters: - type: object mapping: $. - name: datadog-edit-application-key-this description: Datadog Edit an Application Key for This Service Account hints: readOnly: false destructive: false idempotent: true call: datadog-edit.updateserviceaccountapplicationkey with: body: tools.body outputParameters: - type: object mapping: $.