Database users represent user accounts within database server groups that have access to specific databases. They include authentication credentials and access permissions.
uidstringThe unique identifier of the database user.
stack_uidstringThe unique identifier of the stack that owns this database user.
server_group_idintegerThe ID of the server group that hosts this database user.
usernamestringThe username for database authentication.
hoststringThe host pattern from which the user can connect (e.g., "localhost", "%").
passwordstringThe password for database authentication (only returned when explicitly requested with appropriate permissions).
password_hashstringThe hashed password (only returned when explicitly requested with appropriate permissions).
created_at_isostringThe ISO 8601 timestamp when the database user was created.
updated_at_isostringThe 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"
}