This command is only available on Astro.
astro workspace
astro workspace token rotate
Rotate a Workspace API token.
Rotate a Workspace API token in your current Workspace.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Rotate a Workspace API token.
astro workspace token rotate <flags>
| Option | Description | Valid Values |
|---|---|---|
--clean-output | Print only the token as output. Use this flag in automated workflows. | None |
--force | Rotate the token without showing a warning | None |
--name | The name for the token. | Any string surrounded by quotations |
astro workspace token rotate --name "My token" --force
Was this page helpful?