Updates a webhook for an account
PUT/accounts/:account_id/webhooks/:webhook_id
Updates the URL or the list of subscribed events for a webhook.
This endpoint uses optimistic locking. You must provide the webhook's current version in the If-Match header.
You can get this value from the ETag header of a GET request for this resource.
Request
Responses
- 200
- 400
- 401
- 403
- 500
The webhook was updated successfully.
Response Headers
- 96C65204-90C2-4DCB-9393-B8226DD50C76
- 01BTGNYV6HRNK8K8VKZASZCFP0
idempotency-key
A unique key that you can provide to safely retry requests without accidentally performing the same operation twice.
We suggest using a UUID v4 or another random string with sufficient entropy to avoid collisions.
Examples:
A request is not valid and can't be processed.
A request is unauthorized.
A requested is forbidden.
A request failed due to an internal error.