v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-19273210655.1 KB
Databases

Create database user

Add a new database user to the server.

Processing mode: <small><code>async</code></small>

post/orgs/{organization}/servers/{server}/database/users

Path parameters

organizationstring required

The organization slug

serverinteger required

The server ID

Request body

namestring required

The name of the database user to create.

passwordstring required

The password for the database user.

read_onlyboolean

Whether the user should have read-only access to the databases.

database_idsinteger[]

The IDs of the databases to assign the user to.

Example request

{
  "name": "james",
  "password": "password",
  "read_only": true,
  "database_ids": [
    1,
    2,
    3
  ]
}

Response

DatabaseUserResource