## Rotates the webhook signing key for the account `account.rotate_webhook_signing_key() -> RotateWebhookSigningKeyResponse` **post** `/v1/account/rotate_webhook_signing_key` Rotates the webhook signing key for the account. Returns only the new key. ### Returns - `class RotateWebhookSigningKeyResponse` Response containing the newly generated webhook signing secret. - `webhook_events_hmac_secret: String` ### Example ```ruby require "cadenya" cadenya = Cadenya::Client.new(api_key: "My API Key") rotate_webhook_signing_key_response = cadenya.account.rotate_webhook_signing_key puts(rotate_webhook_signing_key_response) ``` #### Response ```json { "webhookEventsHmacSecret": "webhookEventsHmacSecret" } ```