Delete an endpoint
DELETE /v1/webhooks/{id}
Delete a webhook endpoint and its deliveries.
API key with the webhooks scope.
Request
curl -X DELETE "https://api.formatjet.com/v1/webhooks/wh_01JBXA6K8M0P2R4S6T8V0W2X4Y" \ -H "Authorization: Bearer $FORMATJET_API_KEY"Path parameters
| Field | Type | Description |
|---|---|---|
id required | string |
Responses
204 No content
Deleted
Errors
Problem documents (application/problem+json); see Errors.
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | No API key, or one that’s unknown or revoked. |
| 403 | forbidden | The key lacks the webhooks scope, or the plan has no API. |
| 404 | not_found | No webhook endpoint of this key’s mode has this ID. |
| 429 | rate_limited | More requests than the plan allows in 10 seconds: wait Retry-After seconds. |