Update the permissions settings for an existing partner workload. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.
[[["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-30 UTC."],[[["\u003cp\u003eThis API endpoint allows updating the permissions settings for a partner workload using a PATCH request to a specific URL, with the workload identified by its unique name.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires an \u003ccode\u003eupdateMask\u003c/code\u003e to specify the fields that need to be modified within the \u003ccode\u003epartnerPermissions\u003c/code\u003e, and \u003ccode\u003epartnerPermissions\u003c/code\u003e is a required object that defines what is being updated.\u003c/p\u003e\n"],["\u003cp\u003eThe endpoint URL uses gRPC Transcoding syntax and requires the \u003ccode\u003eassuredworkloads.workload.update\u003c/code\u003e IAM permission on the specified workload resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eetag\u003c/code\u003e field is optional, but if included, it must match the server's etag to proceed with the update, and it must be empty for force updates.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return an instance of the \u003ccode\u003eWorkload\u003c/code\u003e resource in the response body, and it requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.locations.workloads.mutatePartnerPermissions\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- [IAM Permissions](#body.aspect_1)\n\nUpdate the permissions settings for an existing partner workload. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.\n\n### HTTP request\n\n`PATCH https://{endpoint}/v1/{name=organizations/*/locations/*/workloads/*}:mutatePartnerPermissions`\n\nWhere `{endpoint}` is one of the [supported service endpoints](/assured-workloads/docs/reference/rest#rest_endpoints).\n\nThe URLs use [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 [Workload](/assured-workloads/docs/reference/rest/v1/organizations.locations.workloads#Workload).\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](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `assuredworkloads.workload.update`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]