---
title: "GET /v1/projects/{projectsId}/relatedaccountgroups/{relatedaccountgroupsId}/memberships"
method: GET
path: "/v1/projects/{projectsId}/relatedaccountgroups/{relatedaccountgroupsId}/memberships"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/relatedaccountgroups/{relatedaccountgroupsId}/memberships

`GET /v1/projects/{projectsId}/relatedaccountgroups/{relatedaccountgroupsId}/memberships`

## Request

- Base URL: `https://recaptchaenterprise.googleapis.com`
- URL: `https://recaptchaenterprise.googleapis.com/v1/projects/{projectsId}/relatedaccountgroups/{relatedaccountgroupsId}/memberships`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Get memberships in a group of related accounts.

## Path parameters

- `projectsId` string, required
- `relatedaccountgroupsId` string, required

## Query parameters

- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- GoogleCloudRecaptchaenterpriseV1ListRelatedAccountGroupMembershipsResponse: The response to a `ListRelatedAccountGroupMemberships` call.
  - `nextPageToken` string: A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  - `relatedAccountGroupMemberships` GoogleCloudRecaptchaenterpriseV1RelatedAccountGroupMembership[]: The memberships listed by the query.
    - `accountId` string: The unique stable account identifier of the member. The identifier corresponds to an `account_id` provided in a previous `CreateAssessment` or `AnnotateAssessment` call.
    - `hashedAccountId` string, byte: Deprecated: use `account_id` instead. The unique stable hashed account identifier of the member. The identifier corresponds to a `hashed_account_id` provided in a previous `CreateAssessment` or `AnnotateAssessment` call.
    - `name` string: Required. Identifier. The resource name for this membership in the format `projects/{project}/relatedaccountgroups/{relatedaccountgroup}/memberships/{membership}`.

---

[API](https://skmtc.dev/google/apis/recaptchaenterprise.md) - [All operations](https://skmtc.dev/google/apis/recaptchaenterprise/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/recaptchaenterprise/revisions/26f34c638048?raw)
