POST
/
v1
/
organizations
/
{organizationName}
/
databases
/
{databaseName}
/
auth
/
tokens

Path Parameters

organizationName
string
required

The name of the organization or user.

databaseName
string
required

The name of the database.

Query Parameters

expiration
string
default: never

Expiration time for the token (e.g., 2w1d30m).

authorization
enum<string>
default: full-access

Authorization level for the token (full-access or read-only).

Available options:
full-access,
read-only

Body

application/json
permissions
object

The permissions for the token.

Response

200 - application/json
jwt
string

The generated authorization token (JWT).