GET/orgunits/{orgUnitId}/members
Gets a list of team members.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
directory
directory.read
orgunit
orgunit.read
| Parameter | Type | Description |
|---|---|---|
| orgUnitId | string | Team ID required example : orgunitf-f27f-4af8-27e1-03817a911417 |
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | Domain ID example : 10000001 format : int32 |
| count | integer | Number of items to get default : 100 minimum : 1 maximum : 100 example : 100 format : int32 |
| cursor | string | Cursor example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
OK
| Property | Type | Description |
|---|---|---|
| members | array (OrgUnitMember) | List of team members |
| responseMetaData | object (responseMetaData) | Response metadata |
| Property | Type | Description |
|---|---|---|
| userId | string | Member ID readOnly : true |
| userExternalKey | string | Member external key maxLength : 100 readOnly : true nullable : true |
| isManager | boolean | Indicates whether the member is a team leader. readOnly : true |
| visible | boolean | Indicates whether to make the member visible. It indicates whether to make the member visible in the organization chart. readOnly : true |
| useTeamFeature | boolean | Indicates whether to use the team features. Use this parameter to restrict a member's use of the team features for security purposes, such as: receiving messages, sharing files and receiving team emails in the team's message room. If it is "true", the member can join the team's message room (Message/Note/Calendar/Folder) and use the following team features:
readOnly : true |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | Cursor value for pagination |
example
1{2 "members": [3 {4 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x",5 "userExternalKey": "USER_EXT_01",6 "isManager": true,7 "visible": true,8 "useTeamFeature": true9 }10 ],11 "responseMetaData": {12 "nextCursor": "JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA=="13 }14}Bad Request
Forbidden
Not Found