Skip to content
Get started

Rotates the webhook signing key for the account

$ cadenya account rotate-webhook-signing-key
POST/v1/account/rotate_webhook_signing_key

Rotates the webhook signing key for the account. Returns only the new key.

ReturnsExpand Collapse
rotate_webhook_signing_key_response: object { webhookEventsHmacSecret }

RotateWebhookEventsHmacSecretResponse is a response to a RotateWebhookEventsHmacSecretRequest.

webhookEventsHmacSecret: optional string

Rotates the webhook signing key for the account

cadenya account rotate-webhook-signing-key \
  --api-key 'My API Key'
{
  "webhookEventsHmacSecret": "webhookEventsHmacSecret"
}
Returns Examples
{
  "webhookEventsHmacSecret": "webhookEventsHmacSecret"
}