Skip to main content

astro workspace token update

info

This command is only available on Astro.

Update a Workspace API token in your current Workspace.

Usage

astro workspace token update <flags>

Options

OptionDescriptionValid Values
--clean-outputPrint only the token as output. Use this flag in automated workflows.None
--descriptionThe description for the tokenAny string surrounded by quotations
--expirationThe expiration date for the token. By default there is no expiration date.Any integer between 1 and 3650, used to represent days
--nameThe current name for the token.Any string surrounded by quotations
--new-nameThe updated name for the token.Any string surrounded by quotations
--roleThe token's role in the Workspace.Possible values are either WORKSPACE_MEMBER, WORKSPACE_AUTHOR, WORKSPACE_OPERATOR, or WORKSPACE_OWNER.

Examples

astro workspace token update --new-name "My updated API token" --role WORKSPACE_MEMBER

Was this page helpful?

Sign up for Developer Updates

Get a summary of new Astro features once a month.

You can unsubscribe at any time.
By proceeding you agree to our Privacy Policy, our Website Terms and to receive emails from Astronomer.