Skip to main content
Delete a webhook from the authenticated workspace by id. After deletion, Clay stops sending deliveries to that endpoint. See the webhooks overview for the delivery payload shape and signature verification.
clay webhooks delete <webhookId>

Arguments

ArgumentDescription
webhookIdWebhook id, e.g. the id returned by clay webhooks list. Required.

Output

{
  "ok": true
}
FieldTypeDescription
okbooleanAlways true when the delete succeeds.

Errors

CodeExitNotes
auth_forbidden3The API key lacks permission to manage webhooks.
not_found6No webhook with that id.

Examples

clay webhooks delete wh_abc123
clay webhooks list | jq -r '.data[0].id' | xargs clay webhooks delete