Update a webhook endpoint Beta
Change the URL or events, or turn the endpoint off and on
Beta. This endpoint is live for design partners, with keys that Dopl issues while the developer portal is being built.
PATCH /v1/webhook_endpoints/{id}
Authorizations
AuthorizationA project secret key (sk_test_… or sk_live_…) sent as Authorization: Bearer <key>. Server to server only.
Path parameters
idThe webhook endpoint.
Body
urlA new https URL on port 443 or 8443, checked like on create.
descriptionA new label.
enabled_eventsEvent names to send, such as action.completed. Omit or null for every event, including new ones.
disabledtrue stops sending, and waiting deliveries fail. false turns it back on.
| Status | Body |
|---|---|
200 | WebhookEndpoint |
400, 401, 404 | Error |