Skip to main content

astro organization token update

info

This command is only available on Astro.

Update an Organization API token.

Usage

astro organization token update <flags>

Options

OptionDescriptionValid Values
--clean-outputPrint only the token as output. Use this flag in automated workflows.None.
--descriptionThe description for the token.Any 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 Organization.Possible values are either ORGANIZATION_MEMBER, ORGANIZATION_BILLING_ADMIN, or ORGANIZATION_OWNER.

Examples

astro organization token update --new-name "My updated API token" --role ORGANIZATION_MEMBER

Was this page helpful?