Method: projects.tenants.domain.verify

Verify the requested custom domain has required DNS records.

HTTP request

POST https://identitytoolkit.googleapis.com/admin/v2/{resource=projects/*/tenants/*}/domain:verify

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
resource

string

The name of the resource to verify the domain of. This method currently accepts verifying domains for either projects (example 'projects/my-awesome-project') or tenants (example 'projects/my-awesome-project/tenants/my-awesome-tenant').

Authorization requires the following IAM permission on the specified resource resource:

  • firebaseauth.configs.update

Request body

The request body contains data with the following structure:

JSON representation
{
  "domain": string,
  "action": enum (DomainVerificationAction)
}
Fields
domain

string

The target domain of this request.

action

enum (DomainVerificationAction)

The action being attempted on the given domain.

Response body

If successful, the response body contains an instance of VerifyDomainResponse.

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.