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 endpoint verifies that a custom domain has the necessary DNS records for either a project or a tenant, identified by the \u003ccode\u003eresource\u003c/code\u003e path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST method to a specific URL using gRPC Transcoding syntax, targeting a project or tenant via the resource in the path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must include the target \u003ccode\u003edomain\u003c/code\u003e and the \u003ccode\u003eaction\u003c/code\u003e being attempted, represented in JSON format.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful verification results in a response body containing an instance of \u003ccode\u003eVerifyDomainResponse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this endpoint requires one of three specified 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"]]],[],null,["# Method: projects.tenants.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/*/tenants/*}/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)."]]