Update a webhook
Update a webhook destination, event subscriptions, label, or enabled state.
Authentication
AuthorizationBearer
Use Bearer <api-key>.
Path parameters
webhookId
Unique webhook identifier generated by BCTRL.
Headers
BCTRL-Subaccount-Id
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.
Request
This endpoint expects an object.
enabled
events
name
url
Response
OK
createdAt
RFC 3339 timestamp with a UTC offset.
enabled
events
id
Unique webhook identifier generated by BCTRL.
name
subaccountId
updatedAt
RFC 3339 timestamp with a UTC offset.
url
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error

