Skip to main content
PATCH
Update webhook

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-Version
string
required

Management API version.

Path Parameters

id
string
required

Webhook ID

Body

application/json
url
string

URL of the webhook endpoint. Must start with https://.

Example:

"https://website.com/webhook"

description
string

Description of the webhook.

Example:

"My Webhook"

status
enum<string>

Status of the webhook: 'enabled' or 'disabled'.

Available options:
enabled,
disabled
environment
object

Environment ID this webhook is associated with. Null if global.

Response

Webhook updated. Changes will take effect in a few minutes.

data
object
required