createApiToken
POST/api/v1/tokens
A token of the caller, acting with the caller's roles, or with service_account a service-account token of the tenant (tenant admins), which needs scopes. A team in a scope must be one the caller may act on. The scope config is a service-account token's only and needs an expires_at at most 366 days ahead (docs/architecture.md §10). Audited.
Request
Responses
- 201
- 422
The token value, shown once
token.scopes_required (service account), token.service_account_scope, token.expiry_required