Create an API token
Create an API token. An API token is an alphanumeric token that grants programmatic access to Astro for automated workflows. An API token can be scoped to an Organization or a Workspace.
Bearer authentication of the form Bearer <token>, where token is your auth token.
The ID of the Workspace or Deployment to which the API token is scoped. It is required if Scope is WORKSPACE or DEPLOYMENT.
The time when the API token was created in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.
The time when the API token will become valid in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.
The time when the API token was last updated in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.
The time when the API token expires in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.
The time when the API token was last rotated in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.
The time when the API token was last used in UTC, formatted as YYYY-MM-DDTHH:MM:SSZ.