Skip to main content
POST
Create database user

Authorizations

X-API-Key
string
header
required

API key for authentication. Each key is bound to a specific account.

Path Parameters

database_id
string
required

Database ID (UUID) or short id (the database_id field, e.g. a1b2c3d4)

Body

application/json
name
string
required

3 to 31 characters. Starts with a lowercase letter, then lowercase letters, digits, or underscores. Names starting with app_ or fnb_ are reserved for Raff Apps and Functions.

Example:

"reporting"

role
enum<string>
required
Available options:
readonly,
readwrite

Response

User created

success
boolean
user
object
password
string

The new user's password

Last modified on October 5, 2026