1. Docs
  2. API Reference
  3. Delete a webhook subscription

Delete a webhook subscription

DELETE/api/v1/webhooks/{id}

Authentication

  • Bearer Token Authorization

    JWT access token

  • API Key X-API-Key

    API key for management-tier access

Path Parameters

Name Required Type Description
idRequiredstring

Code samples

cURLJavaScriptPythonGo
curl -X DELETE "https://api.canopy.dev/api/v1/webhooks/value" \
  -H "X-API-Key: $CANOPY_API_KEY"

Responses

204 Webhook subscription deleted
401 Invalid or expired token
403 This token is not authorized for this endpoint (wrong principal type — e.g., admin token on identity-only endpoint, or vice versa)
404 Webhook subscription not found
On this page

Related endpoints

GETList webhook subscriptions
POSTCreate a webhook subscription
GETGet a webhook subscription
PATCHUpdate a webhook subscription