CLI referenceastro workspaceastro workspace token rotateCopy page This command is only available on Astro. Rotate a Workspace API token in your current Workspace. Usage 1astro workspace token rotate <flags> Options OptionDescriptionValid Values--clean-outputPrint only the token as output. Use this flag in automated workflows.None--forceRotate the token without showing a warningNone--nameThe name for the token.Any string surrounded by quotations Examples 1astro workspace token rotate --name "My token" --force Related commands astro workspace token update astro workspace token delete astro workspace switch