users
Get user by ID
Retrieve a specific user by their ID with roles
get/users/{id}
Path parameters
idnumber required
Example:1
User ID
Response
User retrieved successfully
Example response
{
"user_id": 1,
"name": "John Doe",
"email": "john.doe@example.com",
"registration_date": "2024-01-01T00:00:00.000Z",
"takaful_status": "inactive",
"commission_plan_id": 1,
"roles": [
{
"user_role_id": 1,
"role_id": 1,
"role_name": "admin",
"start_date": "2024-01-01T00:00:00.000Z"
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.