Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.92 KB

astro-organization-token-update.md

File metadata and controls

45 lines (33 loc) · 1.92 KB
sidebar_label title id description hide_table_of_contents sidebar_custom_props
astro organization token update
astro organization token update
astro-organization-token-update
Update an Organization API token.
true
icon
img/term-icon.png

:::info

This command is only available on Astro.

:::

Update an Organization API token.

Usage

astro organization token update <flags>

Options

Option Description Valid Values
--clean-output Print only the token as output. Use this flag in automated workflows. None.
--description The description for the token. Any string surrounded by quotations.
--expiration The expiration date for the token. By default there is no expiration date. Any integer between 1 and 3650, used to represent days.
--name The current name for the token. Any string surrounded by quotations.
--new-name The updated name for the token. Any string surrounded by quotations.
--role The 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

Related commands