Identity Hub API, REST: Group.ListEffective
Returns groups that the subject belongs to within a specific organization.
HTTP request
GET https://organization-manager.api.cloud.yandex.net/organization-manager/v1/groups:listEffective
Query parameters
|
Field |
Description |
|
subjectId |
string Required field. ID of the subject to list groups for. |
|
organizationId |
string The ID of the organization to scope the group search to. |
|
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
|
pageToken |
string Page token. Set |
|
filter |
string A filter expression that filters resources listed in the response.
Available fields for filtering:
Must be 1-1000 characters long. |
Response
HTTP Code: 200 - OK
{
"groupMembershipInfo": [
{
"groupId": "string",
"groupName": "string"
}
],
"nextPageToken": "string"
}
|
Field |
Description |
|
groupMembershipInfo[] |
List of group membership information. |
|
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
GroupMembershipInfo
|
Field |
Description |
|
groupId |
string ID of the group the subject is a member of. |
|
groupName |
string Name of the group the subject is a member of. |