Delete webhook

http
DELETE /projects/{project_reference}/webhooks/{webhook_id}

Delete a webhook that is no longer needed so that its URL refuses future deliveries; returns ok true once the webhook is deleted. Requires project.agents.write; API keys also need delete scope.

Parameters

NameInRequiredDescription
project_referencepathYes
webhook_idpathYesThe webhook id (id on the webhook, formerly webhook_definition_id). A missing webhook is not found.

Responses

StatusDescription
200Deleted; future deliveries for this webhook are disabled.
400invalid_input: invalid parameters
401unauthenticated
403forbidden: a project member without project.agents.write. API keys also require delete scope.
404not_found: project or webhook not found or not visible
500internal
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly