A user can list all/specific users of their (sub)organization. For your own user-id, you can use the 'include' syntax to include information on other resources which are connected to your user. Only an organization owner can list all users from all suborganizations.
npm install @luzmo/nodejs-sdk{
"count": 2,
"rows": [
{
"id": "26535991-03e7-4fa7-97b6-204752da6cd0",
"email": "test-0d2b5f60@luzmo.com",
"name": "Mr Unit McTestFace",
"city": "SmallUnitVille",
"country_id": null,
"locale_id": "en",
"created_at": "2018-08-27T08:27:35.911Z"
},
{
"id": "8b5ef4d1-79c1-4c35-8bb2-6a792a8aef2a",
"email": "john.doe@luzmo.com",
"name": "John Doe",
"city": "BigCity",
"country_id": null,
"locale_id": "en",
"created_at": "2022-01-29T12:00:00.000Z"
}
]
}