Skip to main content

Synopsis

Rotate one or more API keys for a service account. A new API key is generated immediately. The old key remains valid for a grace period to allow time to update dependent systems; the length of that grace period is server-managed unless overridden with --grace-period-hours. The new key value is only returned once, so make sure to store it securely.

Flags

Flags inherited from parent commands

Examples Use Cases

These examples all assume that the flags --api-token, --org, --host, (and --flow, --trail when required), are set/provided.
Last modified on June 22, 2026