Webhooks (Legacy)

Delete a webhook

Changed on

Legacy: This deletes a previous-generation webhook. If you're replacing it rather than retiring it, consider recreating it as a webhook endpoint — see the webhooks guides.

Deletes the webhook and stops all future deliveries of its subscribed events to the target URL. Returns 204 No Content on success, 404 when the id doesn't exist, and 422 when the webhook cannot be deleted.

Find webhook ids with List webhooks; register a replacement with Create a webhook.

delete/v4/webhooks/{id}

Request

  • Base URL
    https://api.kit.com
  • URL
    https://api.kit.com/v4/webhooks/{id}
  • Auth
    • API key in header X-Kit-Api-Key
    • or OAuth 2
      Authorization code: https://api.kit.com/v4/oauth/authorize
      Token URL: https://api.kit.com/v4/oauth/token

Path parameters

idinteger required

Response

Deletes the webhook

Changes