naftiko: 1.0.0-alpha2 info: label: New Relic — Delete description: 'New Relic — Delete. 11 operations. Lead operation: New Relic Delete Alerts Channels Channel. Self-contained Naftiko capability covering one New Relic business surface.' tags: - New Relic - Delete created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: NEW_RELIC_API_KEY: NEW_RELIC_API_KEY capability: consumes: - type: http namespace: new-relic-delete baseUri: https://api.newrelic.com/v2 description: New Relic — Delete business capability. Self-contained, no shared references. resources: - name: alerts_channels-channel_id}.json path: /alerts_channels/{channel_id}.json operations: - name: deletealertschannelschannelid method: DELETE description: New Relic Delete Alerts Channels Channel outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: channel_id in: path type: integer description: Channel ID required: true - name: alerts_conditions-condition_id}.json path: /alerts_conditions/{condition_id}.json operations: - name: deletealertsconditionsconditionid method: DELETE description: New Relic Delete Alerts Conditions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: condition_id in: path type: integer description: Alerts condition ID required: true - name: alerts_entity_conditions-entity_id}.json path: /alerts_entity_conditions/{entity_id}.json operations: - name: deletealertsentityconditionsentityid method: DELETE description: New Relic Delete Alerts Entity Conditions Entity outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: entity_id in: path type: integer description: Entity to remove required: true - name: entity_type in: query type: string description: Entity Type required: true - name: condition_id in: query type: integer description: Alerts condition ID required: true - name: alerts_external_service_conditions-condition_id}.json path: /alerts_external_service_conditions/{condition_id}.json operations: - name: deletealertsexternalserviceconditionsconditionid method: DELETE description: New Relic Delete Alerts External Service Conditions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: condition_id in: path type: integer description: Alerts condition ID required: true - name: alerts_location_failure_conditions-condition_id}.json path: /alerts_location_failure_conditions/{condition_id}.json operations: - name: deletealertslocationfailureconditionsconditionid method: DELETE description: New Relic Delete Alerts Location Failure Conditions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: condition_id in: path type: integer description: Alerts condition ID required: true - name: alerts_nrql_conditions-condition_id}.json path: /alerts_nrql_conditions/{condition_id}.json operations: - name: deletealertsnrqlconditionsconditionid method: DELETE description: New Relic Delete Alerts Nrql Conditions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: condition_id in: path type: integer description: Alerts condition ID required: true - name: alerts_policies-policy_id}.json path: /alerts_policies/{policy_id}.json operations: - name: deletealertspoliciespolicyid method: DELETE description: New Relic Delete Alerts Policies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policy_id in: path type: integer description: Policy ID required: true - name: alerts_policy_channels.json path: /alerts_policy_channels.json operations: - name: deletealertspolicychannels method: DELETE description: New Relic Delete Alerts Policy Channels outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policy_id in: query type: integer description: Policy ID required: true - name: channel_id in: query type: integer description: Channel ID required: true - name: alerts_synthetics_conditions-condition_id}.json path: /alerts_synthetics_conditions/{condition_id}.json operations: - name: deletealertssyntheticsconditionsconditionid method: DELETE description: New Relic Delete Alerts Synthetics Conditions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: condition_id in: path type: integer description: Alerts condition ID required: true - name: applications-application_id-deployments-id}.json path: /applications/{application_id}/deployments/{id}.json operations: - name: deleteapplicationsiddeploymentsid method: DELETE description: New Relic Delete Applications Deployments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: application_id in: path type: integer description: Application ID required: true - name: id in: path type: integer description: Deployment ID required: true - name: applications-id}.json path: /applications/{id}.json operations: - name: deleteapplicationsid method: DELETE description: New Relic Delete Applications outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: integer description: Application ID required: true authentication: type: apikey key: Api-Key value: '{{env.NEW_RELIC_API_KEY}}' placement: header exposes: - type: rest namespace: new-relic-delete-rest port: 8080 description: REST adapter for New Relic — Delete. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/alerts-channels/channel-id-json name: alerts-channels-channel-id-json description: REST surface for alerts_channels-channel_id}.json. operations: - method: DELETE name: deletealertschannelschannelid description: New Relic Delete Alerts Channels Channel call: new-relic-delete.deletealertschannelschannelid with: channel_id: rest.channel_id outputParameters: - type: object mapping: $. - path: /v1/alerts-conditions/condition-id-json name: alerts-conditions-condition-id-json description: REST surface for alerts_conditions-condition_id}.json. operations: - method: DELETE name: deletealertsconditionsconditionid description: New Relic Delete Alerts Conditions call: new-relic-delete.deletealertsconditionsconditionid with: condition_id: rest.condition_id outputParameters: - type: object mapping: $. - path: /v1/alerts-entity-conditions/entity-id-json name: alerts-entity-conditions-entity-id-json description: REST surface for alerts_entity_conditions-entity_id}.json. operations: - method: DELETE name: deletealertsentityconditionsentityid description: New Relic Delete Alerts Entity Conditions Entity call: new-relic-delete.deletealertsentityconditionsentityid with: entity_id: rest.entity_id entity_type: rest.entity_type condition_id: rest.condition_id outputParameters: - type: object mapping: $. - path: /v1/alerts-external-service-conditions/condition-id-json name: alerts-external-service-conditions-condition-id-json description: REST surface for alerts_external_service_conditions-condition_id}.json. operations: - method: DELETE name: deletealertsexternalserviceconditionsconditionid description: New Relic Delete Alerts External Service Conditions call: new-relic-delete.deletealertsexternalserviceconditionsconditionid with: condition_id: rest.condition_id outputParameters: - type: object mapping: $. - path: /v1/alerts-location-failure-conditions/condition-id-json name: alerts-location-failure-conditions-condition-id-json description: REST surface for alerts_location_failure_conditions-condition_id}.json. operations: - method: DELETE name: deletealertslocationfailureconditionsconditionid description: New Relic Delete Alerts Location Failure Conditions call: new-relic-delete.deletealertslocationfailureconditionsconditionid with: condition_id: rest.condition_id outputParameters: - type: object mapping: $. - path: /v1/alerts-nrql-conditions/condition-id-json name: alerts-nrql-conditions-condition-id-json description: REST surface for alerts_nrql_conditions-condition_id}.json. operations: - method: DELETE name: deletealertsnrqlconditionsconditionid description: New Relic Delete Alerts Nrql Conditions call: new-relic-delete.deletealertsnrqlconditionsconditionid with: condition_id: rest.condition_id outputParameters: - type: object mapping: $. - path: /v1/alerts-policies/policy-id-json name: alerts-policies-policy-id-json description: REST surface for alerts_policies-policy_id}.json. operations: - method: DELETE name: deletealertspoliciespolicyid description: New Relic Delete Alerts Policies call: new-relic-delete.deletealertspoliciespolicyid with: policy_id: rest.policy_id outputParameters: - type: object mapping: $. - path: /v1/alerts-policy-channels-json name: alerts-policy-channels-json description: REST surface for alerts_policy_channels.json. operations: - method: DELETE name: deletealertspolicychannels description: New Relic Delete Alerts Policy Channels call: new-relic-delete.deletealertspolicychannels with: policy_id: rest.policy_id channel_id: rest.channel_id outputParameters: - type: object mapping: $. - path: /v1/alerts-synthetics-conditions/condition-id-json name: alerts-synthetics-conditions-condition-id-json description: REST surface for alerts_synthetics_conditions-condition_id}.json. operations: - method: DELETE name: deletealertssyntheticsconditionsconditionid description: New Relic Delete Alerts Synthetics Conditions call: new-relic-delete.deletealertssyntheticsconditionsconditionid with: condition_id: rest.condition_id outputParameters: - type: object mapping: $. - path: /v1/applications/{application-id}/deployments/id-json name: applications-application-id-deployments-id-json description: REST surface for applications-application_id-deployments-id}.json. operations: - method: DELETE name: deleteapplicationsiddeploymentsid description: New Relic Delete Applications Deployments call: new-relic-delete.deleteapplicationsiddeploymentsid with: application_id: rest.application_id id: rest.id outputParameters: - type: object mapping: $. - path: /v1/applications/id-json name: applications-id-json description: REST surface for applications-id}.json. operations: - method: DELETE name: deleteapplicationsid description: New Relic Delete Applications call: new-relic-delete.deleteapplicationsid with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: new-relic-delete-mcp port: 9090 transport: http description: MCP adapter for New Relic — Delete. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: new-relic-delete-alerts-channels description: New Relic Delete Alerts Channels Channel hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deletealertschannelschannelid with: channel_id: tools.channel_id outputParameters: - type: object mapping: $. - name: new-relic-delete-alerts-conditions description: New Relic Delete Alerts Conditions hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deletealertsconditionsconditionid with: condition_id: tools.condition_id outputParameters: - type: object mapping: $. - name: new-relic-delete-alerts-entity description: New Relic Delete Alerts Entity Conditions Entity hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deletealertsentityconditionsentityid with: entity_id: tools.entity_id entity_type: tools.entity_type condition_id: tools.condition_id outputParameters: - type: object mapping: $. - name: new-relic-delete-alerts-external description: New Relic Delete Alerts External Service Conditions hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deletealertsexternalserviceconditionsconditionid with: condition_id: tools.condition_id outputParameters: - type: object mapping: $. - name: new-relic-delete-alerts-location description: New Relic Delete Alerts Location Failure Conditions hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deletealertslocationfailureconditionsconditionid with: condition_id: tools.condition_id outputParameters: - type: object mapping: $. - name: new-relic-delete-alerts-nrql description: New Relic Delete Alerts Nrql Conditions hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deletealertsnrqlconditionsconditionid with: condition_id: tools.condition_id outputParameters: - type: object mapping: $. - name: new-relic-delete-alerts-policies description: New Relic Delete Alerts Policies hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deletealertspoliciespolicyid with: policy_id: tools.policy_id outputParameters: - type: object mapping: $. - name: new-relic-delete-alerts-policy description: New Relic Delete Alerts Policy Channels hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deletealertspolicychannels with: policy_id: tools.policy_id channel_id: tools.channel_id outputParameters: - type: object mapping: $. - name: new-relic-delete-alerts-synthetics description: New Relic Delete Alerts Synthetics Conditions hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deletealertssyntheticsconditionsconditionid with: condition_id: tools.condition_id outputParameters: - type: object mapping: $. - name: new-relic-delete-applications-deployments description: New Relic Delete Applications Deployments hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deleteapplicationsiddeploymentsid with: application_id: tools.application_id id: tools.id outputParameters: - type: object mapping: $. - name: new-relic-delete-applications description: New Relic Delete Applications hints: readOnly: false destructive: true idempotent: true call: new-relic-delete.deleteapplicationsid with: id: tools.id outputParameters: - type: object mapping: $.