Image APIs
API reference › Webhooks

Unsubscribe a webhook

DELETE/v1/webhooks/{id}

DELETE/v1/webhooks/{id}

Unsubscribe a webhook

PARAMETERS
idpath · stringREQUIRED
The webhook id
e.g. hook_8m3kq2xv7zpw4rcn6bdt
In the full reference
REQUEST
curl -X DELETE "https://api.imageapis.com/v1/webhooks/hook_8m3kq2xv7zpw4rcn6bdt" \
  -H "X-API-Key: YOUR_KEY"
RESPONSE
200OK
{
  "id": "hook_8m3kq2xv7zpw4rcn6bdt",
  "object": "webhook",
  "deleted": true
}
401Missing or invalid API key (from the gateway)
404No such template or record on this account
{
  "error": "string",
  "message": "string",
  "param": "string"
}
Try it — sign in first
Runs on a sandbox key: 200 requests a month. Your real key is for production.