Nama resource yang akan diverifikasi domainnya. Metode ini saat ini menerima verifikasi domain untuk project (contoh 'projects/my-awesome-project') atau tenant (contoh 'projects/my-awesome-project/tenants/my-awesome-tenant').
Otorisasi memerlukan izin IAM berikut pada resource resource yang ditentukan:
firebaseauth.configs.update
Isi permintaan
Isi permintaan memuat data dengan struktur berikut:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)."]]