Skip to main content
DELETE
/
Webhooks
/
{event}
DELETE /Webhooks/{event}
curl --request DELETE \
  --url https://{base_url}/Webhooks/{event} \
  --header 'X-API-KEY: <x-api-key>'
Delete a webhook subscription. NowBookIt will stop sending notifications for this event after deletion. No request body is required.
X-API-KEY
string
required
Your API key
event
string
required
Event name. Valid values: BOOKING_CREATED, BOOKING_UPDATED, GIFTCARDS_CREATED, GIFTCARDS_UPDATED, GIFTCARDS_CANCELLED, GIFTCARDS_REDEEMED
curl --location --request DELETE '[BASE_URL]/Webhooks/BOOKING_CREATED' \
--header 'X-API-KEY: your_api_key_here'
StatusDescription
200Subscription deleted
400loggedInAppId
400No Venue Subscribed to your App.
401X-API-KEY missing or invalid
404'{event}' not found. — event name not recognised
404Webhook Subscription for event '{event}' was not found — valid event but no subscription exists