Delete a webhook configuration.
DELETE
/api/admin/webhooks/{id}
Code sample: Shell / cURL
curl --request DELETE \ --url https://auth.example.com/api/admin/webhooks/example \ --header 'Authorization: Bearer <token>'Delete Webhook in the Webhooks area. The operation changes tenant state and should be protected by the documented admin authorization and audit controls.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Header Parameters
Section titled “Header Parameters ” X-Tenant-Id
string
Tenant selector for multi-tenant admin requests.
Responses
Section titled “ Responses ”Webhook deletion response.
Media type application/json
object
success
required
boolean
deleted
required
string
key
additional properties
Example
{ "success": true, "deleted": "webhook_123"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}