Update the name and description of an API token.
Documentation Index
Fetch the complete documentation index at: https://astronomer-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the Organization where you want to update an API token.
The API token you want to update.
The request body for updating a token.
OK
The time when the API token was created in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.
"2022-11-22T04:37:12Z"
The description of the API token.
"my token description"
The API token's ID.
"clm8q7f6q000008lcgyougpsk"
The kind of the API token.
STANDARD, DIRECT_ACCESS "STANDARD"
The name of the API token.
"My token"
The short value of the API token.
"short-token"
The time when the API token will become valid in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.
"2022-11-22T04:37:12Z"
The type of the API token.
DEPLOYMENT, WORKSPACE, ORGANIZATION "WORKSPACE"
The time when the API token was last updated in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.
"2022-11-22T04:37:12Z"
The time when the API token expires in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.
"2022-11-22T04:37:12Z"
The expiry period of the API token in days.
30
The time when the API token was last used in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.
"2022-11-22T04:37:12Z"
The roles of the API token.
The value of the API token.
"token"