Identity Hub API, gRPC: GroupService.ListEffective
Returns groups that the subject belongs to within a specific organization.
gRPC request
rpc ListEffective (ListEffectiveRequest) returns (ListEffectiveResponse)
ListEffectiveRequest
{
"subject_id": "string",
"organization_id": "string",
"page_size": "int64",
"page_token": "string",
"filter": "string"
}
|
Field |
Description |
|
subject_id |
string Required field. ID of the subject to list groups for. |
|
organization_id |
string The ID of the organization to scope the group search to. |
|
page_size |
int64 The maximum number of results per page to return. If the number of available |
|
page_token |
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. |
ListEffectiveResponse
{
"group_membership_info": [
{
"group_id": "string",
"group_name": "string"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
group_membership_info[] |
List of group membership information. |
|
next_page_token |
string This token allows you to get the next page of results for list requests. If the number of results |
GroupMembershipInfo
|
Field |
Description |
|
group_id |
string ID of the group the subject is a member of. |
|
group_name |
string Name of the group the subject is a member of. |