Description: Delete an existing webhook.
Security: Requires an admin user
Usage: DELETE /xray/api/v1/webhooks/{name}
Consumes: application/json
Produces: application/json
Required Parameters:
Response codes:
Status code | Description |
---|---|
200 | Webhook, {name} has been deleted |
404 | The webhook {{name}} not found |
401 | Insufficient privileges, you need a user with admin privileges to delete a webhook |
500 | Failed to delete the webhook. Internal server issues. |
Successful response:
{ "info": "Webhook has been deleted" }