CLI referenceastro organizationastro organization token updateCopy page This command is only available on Astro. Update an Organization API token. Usage 1astro 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 1astro organization token update --new-name "My updated API token" --role ORGANIZATION_MEMBER Related commands astro organization token rotate astro organization token delete astro organization switch