Get User by Id
Get user details using metallic user id.
Path Variables
Field | Description | Type | Notes |
---|---|---|---|
userId | User metallic id | UUID |
Response Body
Field | Description | Type | Notes |
---|---|---|---|
id | User metallic id | UUID | |
status | User status | String Enumeration - User Status Enumeration | Refer to User Status Enumeration. |
insertTs | User created time | Timestamp | |
updateTs | User last updated time | Timestamp | |
Contact email | String | Needs to be unique in metallic. | |
firstName | Contact firstname | String | |
lastname | Contact lastname | String | |
roles | List of user role Ids | String Array | See - Available Roles |
managedAccounts | List of user managed account metallic Ids | UUID Array | Value "*" means user will manage all existing and future accounts under this MSP Partner. |
Path Parameters
- userId string required
Responses
- 200
OK
- application/json
- Schema
- Get User by Id - Success
Schema
{
"data": {
"id": "537FBFE1-88F4-480F-9063-2F6426536684",
"insertTs": "2022-01-19T19:23:44",
"updateTs": "2022-01-19T23:02:15",
"email": "hanna@partnerx.com",
"firstName": "Hanna",
"lastName": "Smith",
"roles": [
"ROLE_MSP_ADMIN"
],
"managedAccounts": [
"*"
],
"status": "active"
}
}
Loading...