Databases
Generate Database Auth Token
Generates an authorization token for the specified database.
POST
/
v1
/
organizations
/
{organizationSlug}
/
databases
/
{databaseName}
/
auth
/
tokens
Path Parameters
The slug of the organization or user account.
The name of the database.
Query Parameters
Expiration time for the token (e.g., 2w1d30m).
Authorization level for the token (full-access or read-only).
Available options:
full-access
, read-only
Body
application/json
The permissions for the token.
Response
200 - application/json
The generated authorization token (JWT).
Was this page helpful?