Databases
Generate Database Auth Token
Generates an authorization token for the specified database.
POST
/
v1
/
organizations
/
{organizationName}
/
databases
/
{databaseName}
/
auth
/
tokens
Path Parameters
organizationName
string
requiredThe name of the organization or user.
databaseName
string
requiredThe name of the database.
Query Parameters
expiration
string
default: neverExpiration time for the token (e.g., 2w1d30m).
authorization
enum<string>
default: full-accessAuthorization 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).
Was this page helpful?