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 followingIAMpermission on the specified resourceresource:
firebaseauth.configs.update
Request body
The request body contains data with the following structure:
[[["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-05-30 UTC."],[[["\u003cp\u003eThis webpage details the process of verifying a custom domain using the Identity Toolkit API, specifically via the \u003ccode\u003ePOST https://identitytoolkit.googleapis.com/admin/v2/{resource=projects/*}/domain:verify\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eresource\u003c/code\u003e path parameter, which can be either a project or tenant, along with the appropriate IAM permission (\u003ccode\u003efirebaseauth.configs.update\u003c/code\u003e) on the specified resource.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be formatted in JSON and include the target \u003ccode\u003edomain\u003c/code\u003e and the \u003ccode\u003eaction\u003c/code\u003e being performed on that domain.\u003c/p\u003e\n"],["\u003cp\u003eThe domain verification request requires one of the following 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"],["\u003cp\u003eA successful verification will return a \u003ccode\u003eVerifyDomainResponse\u003c/code\u003e in the response body, providing details on the operation's outcome.\u003c/p\u003e\n"]]],[],null,["# Method: projects.domain.verify\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nVerify the requested custom domain has required DNS records.\n\n### HTTP request\n\n`POST https://identitytoolkit.googleapis.com/admin/v2/{resource=projects/*}/domain:verify`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [VerifyDomainResponse](/identity-platform/docs/reference/rest/v2/VerifyDomainResponse).\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)."]]