GET/groups/{groupId}
Gets group information for an external key of the customer. This API operation cannot get an external group.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
directory
directory.read
group
group.read
| Parameter | Type | Description |
|---|---|---|
| groupId | string | Group ID or external key. required |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| domainId | integer | Domain ID required format : int32 |
| groupId | string | It is automatically assigned. readOnly : true |
| groupName | string | Group name. It must be unique within the domain. required maxLength : 100 |
| description | string | Group description maxLength : 300 nullable : true |
| visible | boolean | Indicates whether to make the group visible. It indicates whether to make the group visible in search results for users who are not managers or members. default : true |
| useServiceNotification | boolean | Indicates whether to send service notifications. default : false |
| serviceManageable | boolean | Indicates whether a group master can change whether to use the service. default : true |
| groupExternalKey | string | Group external key maxLength : 100 nullable : true |
| administrators | array (GroupAdministrator) | List of group masters required minItems : 1 |
| members | array (GroupMember) | List of group members required |
| useMessage | boolean | Indicates whether to use the Message Room features.
default : false |
| useNote | boolean | Indicates whether to use the Message Room Note feature.
default : false |
| useCalendar | boolean | Indicates whether to use the Message Room Calendar feature.
default : false |
| useTask | boolean | Indicates whether to use the Message Room Task feature.
default : false |
| useFolder | boolean | Indicates whether to use the Message Room Folder feature.
default : false |
| useMail | boolean | Indicates whether to use group emails.
default : false |
| groupEmail | string | Group email address (if
minItems : 0 maxLength : 90 |
| aliasEmails | array (string) | Group email alias (if
minItems : 0 maxItems : 20 |
| canReceiveExternalMail | boolean | Indicates whether to receive external emails (if default : false |
| toExternalEmails | array (string) | External email addresses to receive group emails. minItems : 0 maxItems : 500 |
| membersAllowedToUseGroupEmailAsRecipient | array (GroupAllowedMember) | Members who can send an email to the group email address (if minItems : 0 |
| membersAllowedToUseGroupEmailAsSender | array (GroupAllowedMember) | Members who can use the group email address as their From address (if minItems : 0 |
| useDynamicMembership | boolean | Indicates whether to enable dynamic membership.
default : false |
| dynamicMembership | object (dynamicMembership) | Dynamic membership |
| Property | Type | Description |
|---|---|---|
| userExternalKey | string | Member external key readOnly : true |
| userId | string | Member ID required |
| Property | Type | Description |
|---|---|---|
| externalKey | string | Member external key readOnly : true |
| id | string | Member, team, or group ID. required |
| type | string | required Allowed values : USER, ORGUNIT, GROUP |
| Property | Type | Description |
|---|---|---|
| userExternalKey | string | Member external key readOnly : true |
| userId | string | Member ID required |
| Property | Type | Description |
|---|---|---|
| query | string | Membership query. maxLength : 10000 |
| excludeUserIds | array (string) | List of member IDs to exclude from the group. The following types are available:
minItems : 0 |
example
1{2 "domainId": 10000001,3 "groupId": "group127-8545-4463-603b-04d550d23bf",4 "groupName": "Group1",5 "description": "Domain group",6 "visible": true,7 "useServiceNotification": true,8 "serviceManageable": true,9 "groupExternalKey": "GROUP_EXT_01",10 "administrators": [11 {12 "userExternalKey": "USER_EXT_01",13 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x"14 }15 ],16 "members": [17 {18 "externalKey": "USER_EXT_01",19 "id": "userf7da-f82c-4284-13e7-030f3b4c756x",20 "type": "USER"21 },22 {23 "externalKey": "ORGUNIT_EXT_01",24 "id": "orgunitf-f27f-4af8-27e1-03817a911417",25 "type": "ORGUNIT"26 },27 {28 "externalKey": "GROUP_EXT_01",29 "id": "group769-e656-477d-69c7-04e2f73a4a77",30 "type": "GROUP"31 }32 ],33 "useMessage": true,34 "useNote": true,35 "useCalendar": true,36 "useFolder": true,37 "useTask": true,38 "useMail": true,39 "groupEmail": "email@example.com",40 "aliasEmails": [41 "alias@example.com"42 ],43 "canReceiveExternalMail": true,44 "toExternalEmails": [45 "external@example.com"46 ],47 "membersAllowedToUseGroupEmailAsRecipient": [48 {49 "userExternalKey": "USER_EXT_01",50 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x"51 }52 ],53 "membersAllowedToUseGroupEmailAsSender": [54 {55 "userExternalKey": "USER_EXT_01",56 "userId": "userf7da-f82c-4284-13e7-030f3b4c756x"57 }58 ],59 "useDynamicMembership": true,60 "dynamicMembership": {61 "query": "user.levelId == levelaa7-b824-4937-66af-042f1f43cefa",62 "excludeUserIds": [63 "userf7da-f82c-4284-13e7-030f3b4c756x"64 ]65 }66}Forbidden
Not Found