Skip to main content
POST
Create a database user

Authorizations

x-brimble-key
string
header
required

API key created in the dashboard under Settings → API keys. Each key carries permission scopes; every endpoint lists the scope it needs.

Path Parameters

databaseId
string
required

ID of the database project.

Pattern: ^[a-fA-F0-9]{24}$

Body

application/json
username
string
required

Login name. Must start with a letter and contain only letters, numbers and underscores.

permission
enum<string>
required

readonly can only read data; readwrite can read and change data.

Available options:
readonly,
readwrite
databases
string[]
required

Databases the user can access. At least one.

Minimum array length: 1
password
string

Password for the user. Omit to have one generated.

Response

Database user created successfully

message
string
required

Human-readable result of the request.

Example:

"Database user created successfully"

data
object
required

The result of the request.

Last modified on October 31, 2026