Webhooks
Delete a webhook
Changed onDelete 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}
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/webhook/{id}
- AuthHTTP bearer
Path parameters
idstring required
The ID of the webhook to delete
Response
Webhook deleted successfully
Example response
{
"status": true,
"data": "Webhook deleted successfully"
}Changes
- info
added the optional property
to the response with the status
- info