Create an API token for your authenticated platform.
Create one API token for your authenticated platform. The request body requires a name plus at least one permission from view or manage. The operator-issued root manage token remains visible but is not created here. clientSecret is returned once on create only.
Authorizations
Integration-key Basic Auth (clientId:clientSecret) as documented in docs/public/AUTHENTICATION.md.
Body
Human-readable API token label.
One or more public permissions to grant to the token. view and manage are the only published values.
1Public API token permission. view covers read access and manage covers token-management and other privileged platform actions.
view, manage Response
API token created. Client secret returned only on create.
Stable public API-key identifier in Token:<id> form.
Human-readable API-key label.
Public permissions granted to this token. Legacy runtime scopes are projected into this bounded public pair.
Public API token permission. view covers read access and manage covers token-management and other privileged platform actions.
view, manage Compatibility access-level projection. Tokens that include manage read back as management; tokens without it read back as view_only.
management, view_only Whether the token is the operator-issued root manage token or a platform-created token.
operator_issued, platform_self_service Current key lifecycle state returned by runtime readback.
Whether Platform Config may revoke this token. The operator-issued root manage token returns false.
Client identifier used for Basic Auth.
Client secret shown once at token creation time. It is not re-readable later.
API-key creation timestamp.
Most recent API-key update timestamp.
Revocation timestamp. null while the key is still active.