Update a webhook
Change the endpoint, the description, the filters, or enabled. Fields you omit are left as they are; a body that names none of them is a 400.
A new url is checked exactly as on create. enabled: true clears a failing disable and starts fresh: the 24 hours before it can be disabled for failing again count from now, not from its last 2xx. Sent to a subscription that is already enabled, it does not restart them. enabled: false stops deliveries and records that you chose to. It is not a pause that holds events for later: most events while it is disabled are never queued, and a queued delivery whose next attempt falls due while it is disabled is dropped. Nor is it a clean cut: a retry that was not yet due, or an event that reaches the platform late, can still be delivered after you enable it again. Read the computer’s events_url with since= to reconcile, and dedupe on webhook-id.
While the account’s plan includes no webhooks, a body with a url or with enabled: true is a 402 and nothing changes; the description, the filters and enabled: false can still be set.
Requires the member role or higher.
Request
- Base URL: https://app.mandala.computer/api/v1
- URL: https://app.mandala.computer/api/v1/webhooks/{id}
- Auth: HTTP bearer
Path parameters
The webhook id.
Request body
Response
The subscription as stored.
Changes
No recorded changes to this operation across all 1 revision of this API.