Webhooks
Update a Webhook
Updates a webhook, including its state and the credentials Yuno delivers with
PATCH
Update a Webhook
Updates a webhook. Send
The OAuth2 fields are configured as a set: when you change any of
account_id and the fields you want to change. Use it to point a webhook at a new url, change the events it receives, rotate the credentials Yuno delivers with, or deactivate it.
state turns deliveries on and off: INACTIVE stops them and keeps the configuration, and ACTIVE resumes them. A rotated api_key, secret or hmac_client_secret applies to the next delivery. To remove renewal_days, send clear_renewal_days as true on its own.
Trigger fields are replaced, not merged. Send the full list of events you want the webhook subscribed to, and omit the field to leave it as it is.
oauth2_authentication_url, oauth2_client_id, oauth2_client_secret or oauth2_grant_type, send the four of them.
Renaming a webhook to a name the account already uses, or moving it onto a url where another webhook listens to one of the same events, returns 409 WEBHOOK_ALREADY_EXISTS.Authorizations
Path Parameters
The unique identifier of the webhook, as returned by Create a Webhook.
Example:
"12345"
Body
application/json
Response
The updated webhook.