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 using the App Engine Admin API, which includes mapping an SSL certificate to a domain.\u003c/p\u003e\n"],["\u003cp\u003eThe update operation is performed with a \u003ccode\u003ePATCH\u003c/code\u003e request to a specific URL endpoint using gRPC Transcoding syntax, and requires appropriate IAM permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires both path and query parameters, including the resource \u003ccode\u003ename\u003c/code\u003e for identification, and an \u003ccode\u003eupdateMask\u003c/code\u003e to specify which fields are to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe request body expects an instance of the \u003ccode\u003eDomainMapping\u003c/code\u003e resource and a successful update will be communicated through a \u003ccode\u003eOperation\u003c/code\u003e resource in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this action requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\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/v1/{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/v1/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/)."]]