Der Name der Ressource, für die die Domain bestätigt werden soll. Mit dieser Methode können derzeit Domains für Projekte (z. B. „projects/my-awesome-project“) oder für Kunden (z. B. „projects/my-awesome-project/tenants/my-awesome-tenant“) bestätigt werden.
Für die Autorisierung ist die folgende IAM-Berechtigung für die angegebene Ressource resource erforderlich:
firebaseauth.configs.update
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-03-04 (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)."]]