Update a webhook
Update a webhook subscription's URL or subscribed event types. The signing secret is unchanged.
Authentication
x-api-keystring
Your Living Brain API key. Create one from the dashboard; keys are scoped to an organization and carry the role of the member they were issued to.
Path parameters
id
Webhook subscription id
Headers
x-subject-id
Identifies the end user the request is made on behalf of. Brains are owned by a
subject, so this determines which brains the caller can see.
Request
This endpoint expects an object.
url
New delivery URL. Omit to leave unchanged.
events
New event list. Replaces the existing subscription set. Omit to leave unchanged.
active
Set false to pause deliveries without deleting the subscription.
Response
id
Subscription id
tenantId
Owning tenant id
url
Delivery endpoint
events
Subscribed event types; empty = all
active
Whether the subscription is currently receiving deliveries.
createdAt
ISO 8601 timestamp of when this record was created.
updatedAt
ISO 8601 timestamp of when this record was last modified.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error