Rotate a webhook channel's signing secret

View as Markdown

Sets (first time) or rotates the Standard Webhooks secret a webhook channel verifies inbound deliveries against. The outgoing secret keeps verifying for one rotation cycle. The secret is never returned in any response — only an opaque Vault reference. Authorization: organization administrators only. Returns 400 if the channel is not a webhook channel, 404 if not found.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired

Request

This endpoint expects an object.
secretstringRequired

whsec_-prefixed base64.

Response

The channel, with its secret rotated.
channelobject