Skip to main content
DELETE
/
api
/
v2
/
webhooks
/
{webhook_id}
Delete a webhook
curl --request DELETE \
  --url https://agp.eu.hcompany.ai/api/v2/webhooks/{webhook_id} \
  --header 'Authorization: Bearer <token>'
Deletes a webhook. Deliveries to its URL stop immediately. Returns 204 No Content on success.

Path parameters

webhook_id
string
required
The webhook’s id (UUID).

Examples

curl -X DELETE https://agp.eu.hcompany.ai/api/v2/webhooks/f47ac10b-58cc-4372-a567-0e02b2c3d479 \
  -H "Authorization: Bearer $HAI_API_KEY"

Errors

StatusCause
404Webhook not found or you don’t have access.