EntityUser

Get entity user

GET
Get entity user

Path parameters

entityIdstringRequired
userIdstringRequired

Response

This endpoint returns an object
id
string
roles
list of strings
createdAt
datetime
updatedAt
datetime
foreignId
stringOptional
The ID used to identify this user in your system.
email
stringOptional
name
stringOptional
GET
1curl https://api.mercoa.com/entity/:entityId/user/:userId \
2 -H "Authorization: Bearer <token>"
200
Retrieved
1{
2 "id": "string",
3 "roles": [
4 "string"
5 ],
6 "createdAt": "2023-01-01T00:00:00Z",
7 "updatedAt": "2023-01-01T00:00:00Z",
8 "foreignId": "string",
9 "email": "string",
10 "name": "string"
11}