Delete Webhook
DELETE {{BASE_HABITAT_URL}}/api/webhooks/:id
Required scope: webhooks:write
Permanently removes a webhook. Deliveries to its URL stop immediately.
| Path param | Notes |
|---|---|
id |
Webhook UUID. Returns 404 if no webhook has that ID. |
To pause temporarily instead, use Update Webhook with "active": false.
Examples
Section titled “Examples”curl --request DELETE '${BASE_HABITAT_URL}/api/webhooks/:id'const response = await fetch("${BASE_HABITAT_URL}/api/webhooks/:id", { "method": "DELETE", "headers": {}})const data = await response.json()import requests
response = requests.request( "DELETE", "${BASE_HABITAT_URL}/api/webhooks/:id", headers={},)response.raise_for_status()Saved responses
Section titled “Saved responses”{ "type": "success"}
