Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
cURL
cadenya accounts rotate-webhook-signing-key
require "cadenya" client = Cadenya::Client.new result = client.accounts.rotate_webhook_signing_key() puts result.inspect
package main import ( "context" "fmt" "log" cadenya "go.cadenya.com/cadenya-go" ) func main() { client, err := cadenya.NewClient() if err != nil { log.Fatal(err) } ctx := context.Background() result, err := client.Accounts().RotateWebhookSigningKey(ctx) if err != nil { log.Fatal(err) } fmt.Printf("%+v\n", result) }
import Cadenya from '@cadenya/cadenya'; const client = new Cadenya(); const result = await client.accounts.rotateWebhookSigningKey();
from cadenya import Cadenya with Cadenya() as client: result = client.accounts.rotate_webhook_signing_key() print(result)
{ "webhookEventsHmacSecret": "<string>" }
{ "code": 123, "message": "<string>", "details": [ { "@type": "<string>" } ] }
Rotates the webhook signing key for the account. Returns only the new key.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
Response containing the newly generated webhook signing secret.