Webhook Subscriptions · 1 min read
Delete a Webhook
Remove a LemuTickets webhook subscription so no more events are sent to it
Deletes a webhook subscription. No more events are sent to its URL. This cannot be undone; to stop deliveries for a while instead, turn off Send events on the webhook in Settings → API keys and webhooks.
DELETE
/v1/webhooks/{webhook_id}Needs the api_keys.manage scope.
Path parameters#
| Name | Type | Required | Description |
|---|---|---|---|
webhook_id | string (UUID) | Yes | The webhook's id, from List webhooks. |
Example request:
curl -X DELETE https://api.tickets.lemuai.com/v1/webhooks/f2a4c6e8-0b1d-4f3a-8c5e-a7c9e1b3d5f7 \
-H "Authorization: Bearer ltk_live_your_api_key"Response#
204 with no body.
Errors#
| Status | code | When |
|---|---|---|
403 | missing_capability | The key does not have api_keys.manage |
404 | webhook_not_found | No webhook with this id |
422 | invalid_fields | webhook_id is not a UUID |
Was this page helpful?
Docs