[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThis webpage details how to look up a \u003ccode\u003eMembership\u003c/code\u003e resource name using its \u003ccode\u003eEntityKey\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003eGET\u003c/code\u003e method directed to \u003ccode\u003ehttps://cloudidentity.googleapis.com/v1/{parent=groups/*}/memberships:lookup\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eparent\u003c/code\u003e path parameter, specifying the \u003ccode\u003eGroup\u003c/code\u003e resource, and a \u003ccode\u003ememberKey\u003c/code\u003e query parameter, identifying the member's \u003ccode\u003eEntityKey\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe response body returns a JSON object with the \u003ccode\u003ename\u003c/code\u003e field containing the resource name of the \u003ccode\u003eMembership\u003c/code\u003e, formatted as \u003ccode\u003egroups/{group}/memberships/{membership}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires one of the provided OAuth scopes to be authorized, allowing access to \u003ccode\u003eMembership\u003c/code\u003e data.\u003c/p\u003e\n"]]],[],null,["# Method: groups.memberships.lookup\n\nLooks up the [resource name](https://cloud.google.com/apis/design/resource_names) of a `Membership` by its `EntityKey`.\n\n### HTTP request\n\n`GET https://cloudidentity.googleapis.com/v1/{parent=groups/*}/memberships:lookup`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nThe response message for [MembershipsService.LookupMembershipName](/identity/docs/reference/rest/v1/groups.memberships/lookup#google.apps.cloudidentity.groups.v1.MembershipsService.LookupMembershipName).\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-identity.groups.readonly`\n- `https://www.googleapis.com/auth/cloud-identity.groups`\n- `https://www.googleapis.com/auth/cloud-identity`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]