Nom de la ressource dont vous souhaitez valider le domaine. Cette méthode accepte actuellement la validation de domaines pour les projets (par exemple, "projects/my-awesome-project") ou les locataires (par exemple, "projects/my-awesome-project/tenants/my-awesome-tenant").
L'autorisation IAM suivante est requise pour la ressource resource indiquée :
firebaseauth.configs.update
Corps de la requête
Le corps de la requête contient des données présentant la structure suivante :
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/03/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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)."]]