Partially update a webhook (reactivate / event_types / description)
PATCH/webhooks/:id
An unsent field is unchanged (partial update). When is_active: true is sent, the endpoint is reactivated and consecutive_failures is reset (a clean start for the circuit breaker). If event_types is sent, the subscription list is REPLACED entirely (not merged).
Request
Responses
- 200
- 401
- 404
- 422
Updated webhook
Authentication failed — missing header, wrong credential, outside the IP whitelist, or a revoked key. No detail is leaked; all cases return a single message.
Response Headers
WWW-Authenticate
RFC 7617 Basic Auth challenge
No record or belongs to another reseller (webhook_not_found)
Validation error (empty body / unknown event)