DELETE /v1/webhook-endpoints/{id}
Delete an endpoint, with its secret and its delivery list.
| Access | |
|---|---|
| Keys | secret only |
| Plan | every plan |
| Environment | live and sandbox |
| Acts for | the account |
| While the account is suspended | works |
| During a data stop | works |
Path
| Name | Type | Description |
|---|---|---|
id |
string | Required. The endpoint's ID, "wh_…". |
Answers
204: Deleted
No body.
Errors
| Status | Codes |
|---|---|
| 400 | validation_failed |
| 401 | invalid_api_key, key_revoked, missing_api_key |
| 403 | account_pending, origin_not_allowed, secret_key_in_browser, secret_key_required |
| 404 | not_found |
| 429 | rate_limited |
| 500 | internal_error, temporarily_unavailable |
Every error has the same body, and says how to fix it (responses and errors).
More
204 with no body, or 404 not_found. Its secret and its delivery list go with it. Works
while the account is suspended.
This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.