Faça o download das informações de todas as contas no projeto de forma paginada. Para usar esse método, é necessário ter uma credencial do Google OAuth 2.0 com as permissões adequadas. Além disso, são necessárias outras permissões para receber o hash, o salt e a versão da senha das contas. Caso contrário, esses campos são ocultados.
Solicitação HTTP
GET https://identitytoolkit.googleapis.com/v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:batchGet
Se tenantId for especificado, o ID do projeto do Google Cloud ao qual o locatário da Identity Platform pertence. Caso contrário, o ID do projeto do Google Cloud a que as contas pertencem.
A autorização requer a seguinte permissão do IAM no recurso especificado targetProjectId:
firebaseauth.users.get
tenantId
string
O ID do locatário do Identity Platform ao qual as contas pertencem. Se não for especificado, as contas no projeto do Identity Platform serão retornadas.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-03-04 UTC."],[[["\u003cp\u003eThis API endpoint retrieves account information for all accounts within a specified project or tenant in a paginated manner.\u003c/p\u003e\n"],["\u003cp\u003eAccessing this data requires a Google OAuth 2.0 credential with specific permissions, including \u003ccode\u003efirebaseauth.users.get\u003c/code\u003e for the specified \u003ccode\u003etargetProjectId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made via a \u003ccode\u003eGET\u003c/code\u003e HTTP request to a specific URL, which accepts path parameters for \u003ccode\u003etargetProjectId\u003c/code\u003e and \u003ccode\u003etenantId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe response is controlled by query parameters like \u003ccode\u003enextPageToken\u003c/code\u003e for pagination and \u003ccode\u003emaxResults\u003c/code\u003e to define the number of results returned.\u003c/p\u003e\n"],["\u003cp\u003eRequests must have an empty body and can be authorized using one of three OAuth scopes: \u003ccode\u003ehttps://www.googleapis.com/auth/identitytoolkit\u003c/code\u003e, \u003ccode\u003ehttps://www.googleapis.com/auth/firebase\u003c/code\u003e, or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: projects.tenants.accounts.batchGet\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDownload account information for all accounts on the project in a paginated manner. To use this method requires a Google OAuth 2.0 credential with proper [permissions](https://cloud.google.com/identity-platform/docs/access-control).. Furthermore, additional permissions are needed to get password hash, password salt, and password version from accounts; otherwise these fields are redacted.\n\n### HTTP request\n\n`GET https://identitytoolkit.googleapis.com/v1/projects/{targetProjectId}/tenants/{tenantId}/accounts:batchGet`\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\nIf successful, the response body contains an instance of [DownloadAccountResponse](/identity-platform/docs/reference/rest/v1/DownloadAccountResponse).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/identitytoolkit`\n- `\n https://www.googleapis.com/auth/firebase`\n- `\n https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]