DELETE
/api/v1/webhooks/{id}Webhooks
Delete webhook subscription
Remove a webhook subscription and stop all future deliveries.
Sandbox API
https://sandbox-api.nuvante.ioDeletes the subscription straight away. Deliveries that were already queued may still arrive. To rotate the signing secret, delete the subscription and create a new one, since there's no endpoint that rotates the secret while keeping the same subscription ID. Needs webhooks:manage.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| Authorization | string · header | Yes | Bearer sandbox API key with `webhooks:manage`. |
| id | string · path | Yes | The ID of the webhook subscription to delete. |
Responses
204Deleted. The response has no body.
Request
curl --request DELETE \
--url 'https://sandbox-api.nuvante.io/api/v1/webhooks/wh_523e4567-e89b-42d3-a456-426614174052' \
--header 'Authorization: Bearer nvt_sandbox_your_key' \
--header 'Accept: application/json'Response
null