Database users represent user accounts within database server groups that have access to specific databases. They include authentication credentials and access permissions.
uid
stringThe unique identifier of the database user.
stack_uid
stringThe unique identifier of the stack that owns this database user.
server_group_id
integerThe ID of the server group that hosts this database user.
username
stringThe username for database authentication.
host
stringThe host pattern from which the user can connect (e.g., "localhost", "%").
password
stringThe password for database authentication (only returned when explicitly requested with appropriate permissions).
password_hash
stringThe hashed password (only returned when explicitly requested with appropriate permissions).
created_at_iso
stringThe ISO 8601 timestamp when the database user was created.
updated_at_iso
stringThe ISO 8601 timestamp when the database user was last updated.
Example
{
"uid": "dbuser-789ghi012",
"stack_uid": "stack-abc123",
"server_group_id": 567,
"username": "app_user",
"host": "%",
"password": "[REDACTED]",
"password_hash": "[REDACTED]",
"created_at_iso": "2023-01-15T10:30:00Z",
"updated_at_iso": "2023-06-20T14:15:00Z"
}