Revoke a webhook
Disable the webhook and stop its remaining deliveries in the selected workspace.
/v1/webhooks/{webhookId}/revokeAuthorization
bearerKey A scoped automation key authorized for the REST API.
In: header
Path Parameters
uuidHeader Parameters
Select a workspace explicitly included in this access grant.
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08/revoke" \ -H "X-Ndnci-Workspace: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Authorization: Bearer <NDNCI_API_KEY>"{ "success": true, "code": "PUBLIC_WEBHOOKS_REVOKE", "message": "Successful response", "data": { "accepted": true }}Required scope: webhooks:write · Usage points: 2
Credits are charged separately for work that consumes paid services.
Update a webhook POST
Replace the webhook destination, subscribed events and enabled state after checking the verified hostname and current workspace authorization again.
Rotate a webhook secret POST
Replace the signing secret for one workspace webhook. Store the returned new secret securely; the previous secret is invalidated.