Webhooks
Delete a webhook
Delete a webhook by its ID.
400 is returned when the webhook still has active agent subscriptions: "Cannot delete webhook: It is currently assigned to one or more agents. Please remove all agent assignments first." Call DELETE /agent/{agentId}/webhook-subscriptions for each assigned agent before deleting.
400 is also returned for an invalid webhook ID format: "The provided Webhook ID is invalid."
delete/webhook/{id}
Path parameters
idstring required
The ID of the webhook to delete
Response
Webhook deleted successfully
Example response
{
"status": true,
"data": "Webhook deleted successfully"
}