Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificateId to point to an AuthorizedCertificate resource. A user must be authorized to administer the associated domain in order to update a DomainMapping resource.
[[["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-06-16 UTC."],[[["\u003cp\u003eThis document describes how to update a domain mapping, which includes mapping an SSL certificate by updating the \u003ccode\u003ecertificateId\u003c/code\u003e to an \u003ccode\u003eAuthorizedCertificate\u003c/code\u003e resource.\u003c/p\u003e\n"],["\u003cp\u003eThe update is performed via a \u003ccode\u003ePATCH\u003c/code\u003e HTTP request to the specified URL: \u003ccode\u003ehttps://appengine.googleapis.com/v1beta/{name=apps/*/domainMappings/*}\u003c/code\u003e, using gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is required, defining the resource to be updated, and authorization requires the \u003ccode\u003eappengine.applications.update\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter is required, specifying the comma-separated list of fields to be updated in the \u003ccode\u003eFieldMask\u003c/code\u003e format.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain an instance of \u003ccode\u003eDomainMapping\u003c/code\u003e and the success response body will contain an instance of \u003ccode\u003eOperation\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: apps.domainMappings.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates the specified domain mapping. To map an SSL certificate to a domain mapping, update `certificateId` to point to an `AuthorizedCertificate` resource. A user must be authorized to administer the associated domain in order to update a `DomainMapping` resource.\n\n### HTTP request\n\n`PATCH https://appengine.googleapis.com/v1beta/{name=apps/*/domainMappings/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [DomainMapping](/appengine/docs/admin-api/reference/rest/v1beta/apps.domainMappings#DomainMapping).\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/appengine/docs/admin-api/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]