Delete a webhook endpoint
DELETE
/developer/v1/webhook-endpoint/{endpoint_id}/delete/documentNo scope needed
Deletes a webhook endpoint. Events are no longer sent to it. An endpoint of another mode
answers not_found.
Path parameters
endpoint_idstringrequiredThe ID of the webhook endpoint, such as
whe-....
Response 200
messagestringA plain sentence saying the endpoint was deleted.
Default "Webhook endpoint deleted."
Errors
Every error has this shape. Branch on code, not on message. request_id equals the X-Request-Id response header.
{
"error": {
"code": "not_found",
"message": "The object does not exist.",
"request_id": "req_0123456789abcdef0123456789abcdef"
}
}| Status | Code | Meaning |
|---|---|---|
401 | invalid_api_key | The API key is missing or not valid. |
403 | company_archived | This company is archived. |
403 | company_not_live | The company must be live to use prod keys. |
403 | company_suspended | This company is suspended. |
404 | not_found | The requested resource was not found. |
429 | rate_limited | Too many requests. Wait before calling again. |
500 | internal_error | Something went wrong on our side. Please try again later. |
502 | upstream_error | A Nurish'd service could not complete the request. |
503 | upstream_unavailable | A Nurish'd service is unavailable. Please try again later. |
504 | upstream_timeout | A Nurish'd service did not answer in time. Please try again. |