Skip to content
API referenceAPI v1admin-sdk 1.1.52Search docs⌘K
Webhook endpoints · Update an endpoint
API reference / Webhook endpoints

Update an endpoint

PUT/api/v1/webhook_urls/:idwebhooks:manage

Change an endpoint's URL or event.

Path parameters

idintegerrequired

The endpoint's ID.

Body

urlstring

New URL.

eventstring

New event.

Headers

Authorizationheaderrequired

Bearer with your secret key, or the merchant's OAuth token.

Returns

The updated endpoint, with 201.

Errors

401The key or token is missing, wrong or revoked, is for the other environment, or doesn't have the scope this endpoint needs.
422The URL isn't a web address.