Get a corporate user by ID
GET/v1/corporates/:id/users/:userId
Retrieves detailed information about a specific corporate user
Request
Path Parameters
id stringrequired
Corporate ID
userId stringrequired
Corporate User ID
Responses
- 200
- 404
Corporate user found
- application/json
- Schema
- Example (from schema)
Schema
_id stringrequired
The ID of the corporate user
userId stringrequired
The user ID of the corporate user
firstName stringrequired
The first name of the corporate user
lastName string
The last name of the corporate user
username stringrequired
The user name of the corporate user
email stringrequired
The email of the corporate user
phone stringrequired
The phone of the corporate user
isActive booleanrequired
Whether the corporate user is active
{
"_id": "1234567890",
"userId": "1234567890",
"firstName": "James",
"lastName": "Bond",
"username": "jamesbond",
"email": "jamesbond@goodjourney.io",
"phone": "+1234567890",
"isActive": true
}
Corporate user not found
Loading...