DELETE/api/v1/webhooks/{id}

Webhooks

Delete webhook subscription

Remove a webhook subscription and stop all future deliveries.

Sandbox APIhttps://sandbox-api.nuvante.io

Deletes 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

Delete webhook subscription parameters
FieldTypeRequiredDescription
Authorizationstring · headerYesBearer sandbox API key with `webhooks:manage`.
idstring · pathYesThe ID of the webhook subscription to delete.

Responses

204Deleted. The response has no body.
Create a sandbox API key

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