Manually disables a Webhook. The request body is empty. After disabling, no new events are delivered. Events already produced but not yet delivered are cancelled.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
POST /webhook_endpoints/{id}/disable
Path parameters
| Field | Required | Type | Description |
|---|---|---|---|
id | Yes | string | Webhook ID, format wep_<ULID> |
Request example
Response example
Response fields
| Field | Type | Description |
|---|---|---|
id | string | Webhook ID |
description | string | null | Description |
url | string | Callback URL |
events | array<string> | Subscribed named event types |
status | string | Always DISABLED after this operation |
disabled_reason | string | Always MANUAL for manual disable |
consecutive_fail | integer | Current consecutive failure count at the time of disable |
last_success_at | string | null | Last successful delivery time at the time of disable |
last_failure_at | string | null | Last failed delivery time at the time of disable |
created_at | string | Creation time, ISO 8601 |
updated_at | string | Last update time, ISO 8601 |
request_id | string | Unique request identifier |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 404 | 11800001 | Webhook not found or already deleted |