Skip to content
torqee Developers
Esc
↑↓navigate↵open⌘Jpreview

Delete a webhook endpoint

Disables the endpoint, cancels pending deliveries, then marks it deleted. The operation can be safely retried.

DELETE/api/v1/webhooks/{id}
Authorization
AuthorizationOAuth2 access token · headerrequired

OAuth 2.1 authorization code flow with PKCE. Audience must be the connect URL.

Scopes:torqee:webhooks:write
or
AuthorizationBearer token · headerrequired

Workspace API key issued from the torqee web app. Pass the torqee_-prefixed key as the bearer token. API keys carry the same read scopes as OAuth tokens.

Path parameters
idstringrequired
min length 1
Responses
204

Endpoint deleted

401

Missing or invalid credentials

errorstringrequired
Allowed:unauthorized
403

Membership revoked or insufficient scope

errorstringrequired
Allowed:insufficient_scopeforbidden
404

Webhook endpoint or workspace not found

errorstringrequired
Allowed:not_foundworkspace_not_found
500

Unexpected server error

errorstringrequired
Allowed:internal_server_error
503

Delivery cancellation is temporarily unavailable

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://connect.torqee.app/api/v1/webhooks/string' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Accept: application/json'
Response
Endpoint deleted

Was this page helpful?