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 API overview and authentication.
Endpoint
POST /webhook_endpoints/{id}/disable
Path parametersidstring (必选)Webhook ID, format wep_<ULID> | Request example |
Response fieldsidstring—description string | null—url string—events array<string>—status stringDISABLED after being disableddisabled_reason string | nullMANUAL for manual disableconsecutive_fail integerCurrent value at the time of disablelast_success_at string | nullCurrent value at the time of disablelast_failure_at string | nullCurrent value at the time of disablecreated_at string—updated_at string—request_id stringUnique identifier of this request; attach it when troubleshooting | Response |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 404 | 11800001 | webhook not found |