Step 7: delete a webhook

Lastly, you can delete an existing webhook when you no longer need it.

SandboxProduction
Copy
Copied
curl -i -X DELETE \
  'https://api-sandbox.equalsmoney.com/v2/webhooks/{webhookId}' \
  -H 'Authorization: ApiKey {apiKey}'
Copy
Copied
curl -i -X DELETE \
  'https://api.equalsmoney.com/v2/webhooks/{webhookId}' \
  -H 'Authorization: ApiKey {apiKey}'

If your request is successful, you'll receive an empty 204 response. If you list all webhooks again, you'll notice that the count has gone down by 1.

Next