Get User¶
Required privilege: Users / View
Returns full details for a single user account including their role and effective privileges.
Path Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
integer | Yes | Internal user identifier |
Response¶
{
"data": {
"id": 12,
"User Fullname": "Jane Doe",
"Username": "jane.doe@acme.com",
"User Email": "jane.doe@acme.com",
"User Phone": "+1 555 000 0000",
"First Signin": false,
"Password Expiration": "2025-06-01",
"Role Name": "Procurement Manager",
"Role Description": "Full procurement read/write access",
"Role Id": 3,
"User Status": "Active",
"2FA Enabled": true,
"Privileges": [
{ "type": "Procurement", "access": "Edit" },
{ "type": "Demand", "access": "View" },
{ "type": "Inventory", "access": "View" }
]
}
}
Errors¶
| Status | Code | Description |
|---|---|---|
| 400 | User.NotFound |
No user with this ID |
| 403 | User.NotPrivileged |
Insufficient privilege |