Method: projects.relatedaccountgroups.memberships.list

Get memberships in a group of related accounts.

HTTP request

GET https://recaptchaenterprise.googleapis.com/v1/{parent=projects/*/relatedaccountgroups/*}/memberships

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name for the related account group in the format projects/{project}/relatedaccountgroups/{relatedaccountgroup}.

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of accounts to return. The service might return fewer than this value. If unspecified, at most 50 accounts are returned. The maximum value is 1000; values above 1000 are coerced to 1000.

pageToken

string

Optional. A page token, received from a previous memberships.list call.

When paginating, all other parameters provided to memberships.list must match the call that provided the page token.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

The response to a memberships.list call.

JSON representation
{
  "relatedAccountGroupMemberships": [
    {
      object (RelatedAccountGroupMembership)
    }
  ],
  "nextPageToken": string
}
Fields
relatedAccountGroupMemberships[]

object (RelatedAccountGroupMembership)

The memberships listed by the query.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • recaptchaenterprise.relatedaccountgroupmemberships.list

For more information, see the IAM documentation.