Skip to content

Delete a webhook target

DELETE
/organizations/{org_id}/webhooks/{target_id}
curl --request DELETE \
--url https://api.perstat.io/organizations/example/webhooks/example \
--header 'Authorization: Bearer <token>'

Permanently removes a webhook or Slack target from the organization. Returns 204 on success and 404 when the target does not belong to the organization. Requires project management rights. Accepts API keys with the webhooks:write scope, subject to current role and resource grants.

org_id
required
string
target_id
required
string

Request succeeded. The response has no body.

Authentication is missing or invalid.

The authenticated caller does not have permission to perform this operation.

No accessible resource matches the supplied identifier.