Command Palette
Search for a command to run

Create a token

Create a new service account token for API authentication

POST
/auth/v1/seed/auth/tokens

Body parameters

name type: string (required)
A display name for the token. Used to identify the token in the dashboard and API responses.
scopes type: string[] (required)
Permissions granted to the token. One or more of `"read"`, `"write"`, `"admin"`.
expires_in_seconds type: integer
Number of seconds until the token expires. Omit to create a token that never expires.

[Warning] The raw token value is only returned once at creation time. It cannot be retrieved again. Store it securely — if lost, you must delete the token and create a new one.