Create a tenant. Requires write permission on the Agent project.
HTTP request
POST https://identitytoolkit.googleapis.com/v2/{parent=projects/*}/tenants
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The parent resource name where the tenant will be created. For example, "projects/project1". Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains an instance of Tenant
.
Response body
If successful, the response body contains a newly created instance of Tenant
.
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.