Delete a Webhook

To remove a webhook for an event, you'll need to reference the webhook_id, which can be found when you List Web Hooks Once you've obtained the webhook_id, you'll make a DELETE call to the webhook endpoint like so.

curl -iX DELETE https://api.shipengine.com/v1/environment/webhooks/5491 \
-H 'Content-Type: application/json' \
-H 'API-Key: __YOUR_API_KEY_HERE__'
  • curl

You will receive a HTTP 204, (No Content) response if deleting the web hook was successful.

Danger

Webhooks are deleted permanently.

Be sure to confirm which webhook you are deleting. Once you've removed a webhook, the only way to restore it is to create a new one.