Update Webhook Subscription
Update a webhook subscription
Required OAuth 2.0 scopes: application/webhooks:read
, application/webhooks:write
Path parameters
subscription_id
The unique identifier of the subscription.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
enabled
A flag to enable/disable the subscription.
event_types
A list of event types to bind the subscription to.
Allowed values:
name
A friendly name to describe the subscription.
notification_url
The URL to be notified when an event occurs.
Response
Successful Response
created_at
The subscription creation date and time in ISO 8601 format.
enabled
A flag indicating whether the subscription is enabled.
event_types
A list of event types the subscription is bound to.
Allowed values:
id
The unique identifier of the subscription.
name
A friendly name to describe the subscription.
notification_url
The URL to be notified when an event occurs.
secret
The secret used to verify the payload of a webhook, only available upon creation.
updated_at
The date and time the subscription was last modified in ISO 8601 format.