Delete a webhook endpoint
DELETE/api/v1/workspaces/:workspace_id/webhook_endpoints/:id
Permanently deletes a webhook endpoint. Only the OAuth application that created the endpoint may delete it: an endpoint created by another application of the same workspace is visible on GET but returns 403 here. Endpoints created from the Scribee web interface belong to no application and are managed from the web interface only - they return 403 for every OAuth application, whichever one calls.
Request
Responses
- 204
- 401
- 403
- 404
The webhook endpoint was permanently deleted. The response body is empty.
The request is missing a bearer token, or the token is invalid or expired.
The OAuth application's token is valid, but the application has no access grant for the requested workspace, or no such workspace exists.
No webhook endpoint with this id exists in this workspace.