API Reference · Database
Create a database user
Create a database user
POST/v1/tenants/{name}/workloads/{id}/db/users
Authorization
x-api-keystringrequired
Your per-workspace API key, e.g. llc_AbC123…. Also accepted as Authorization: Bearer <key>. Mint keys on your workspace's API keys page — each key belongs to one workspace.
Path parameters
namestringrequired
Workspace (tenant) name.
idstringrequired
Workload id within the workspace.
Body
usernamestringrequired
e.g. analyst
passwordstringrequired
grantsenumoptional
One of: read · readwrite · admin.
Response
200 — User created.
curl -X POST https://api.live-llm.com/v1/tenants/acme/workloads/web/db/users \
-H "x-api-key: $LIVELLM_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "reporting",
"password": "S3cure-Pass!",
"grants": "read"
}'Try itPOSThttps://api.live-llm.com/v1/tenants/{name}/workloads/{id}/db/users
Fill required path params: name, id.
Example response200
User created.