Open Context Protocol is live! 🚀 Read the launch post
deleteWebhookEndpointsWebhookEndpoint

deleteWebhookEndpointsWebhookEndpoint

Delete a webhook endpoint

Details

  • Method: DELETE
  • Path: /v1/webhook_endpoints/{webhook_endpoint}
  • Operation ID: DeleteWebhookEndpointsWebhookEndpoint

Parameters

{
  "webhook_endpoint": {
    "description": "",
    "required": true,
    "location": "path",
    "type": "string"
  }
}

Response Schema

{
  "description": "",
  "properties": {
    "deleted": {
      "description": "Always true for a deleted object",
      "enum": [
        true
      ],
      "type": "boolean"
    },
    "id": {
      "description": "Unique identifier for the object.",
      "maxLength": 5000,
      "type": "string"
    },
    "object": {
      "description": "String representing the object's type. Objects of the same type share the same value.",
      "enum": [
        "webhook_endpoint"
      ],
      "type": "string"
    }
  },
  "required": [
    "deleted",
    "id",
    "object"
  ],
  "title": "NotificationWebhookEndpointDeleted",
  "type": "object",
  "x-expandableFields": [],
  "x-resourceId": "deleted_webhook_endpoint"
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('stripe')

# Call this tool
result = await agent.call_tool('deleteWebhookEndpointsWebhookEndpoint', {
    # Add required parameters here
})