Delete a Webhook

DELETE /api/v2/webhooks/{id}.json

Delete a webhook by its ID to stop receiving notifications.

If you would prefer to temporarily disable a webhook you can do by disabling the webhook in an update request.

Scope

Requires the default scope only.

Parameters

Your request must provide the following URL parameters:

id required
The ID of your Webhook object


Request body

Does not require a payload

Success responses

If the Webhook was deleted successfully you should receive a response with a 204 status code and no body.

Error responses

If the Webhook could not be deleted you may encounter a response with a 400, or 404 status code:

success
A boolean where a value of false means the Webhook could not be deleted.
status
  • 400 may indicate that the ID was not provided, or the Webhook could not be deleted for an unknown reason.
  • 404 indicates that the ID was provided, but the Webhook could not be found.