NDNCI Docs
API v1API reference

Revoke a webhook

Disable the webhook and stop its remaining deliveries in the selected workspace.

POST/v1/webhooks/{webhookId}/revoke

Authorization

bearerKey
AuthorizationBearer <token>

A scoped automation key authorized for the REST API.

In: header

Path Parameters

webhookId*string
Formatuuid

Header Parameters

X-Ndnci-Workspace*string

Select a workspace explicitly included in this access grant.

Formatuuid

Response 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.