- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
List tenants under the given agent project. Requires read permission on the Agent project.
HTTP request
GET https://identitytoolkit.googleapis.com/v2/{parent=projects/*}/tenants
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource name to list tenants for. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
page |
The pagination token from the response of a previous request. |
page |
The maximum number of results to return, capped at 1000. If not specified, the default value is 20. |
Request body
The request body must be empty.
Response body
Response message for tenants.list.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"tenants": [
{
object ( |
Fields | |
---|---|
tenants[] |
A list of tenants under the given agent project. |
next |
The token to get the next page of results. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/identitytoolkit
https://www.googleapis.com/auth/firebase
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.