Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.
[[["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 endpoint deletes a workload, but only if its direct children are already deleted, otherwise, it will throw a \u003ccode\u003eFAILED_PRECONDITION\u003c/code\u003e error.\u003c/p\u003e\n"],["\u003cp\u003eThe request is a \u003ccode\u003eDELETE\u003c/code\u003e HTTP method using the format \u003ccode\u003ehttps://{endpoint}/v1beta1/{name=organizations/*/locations/*/workloads/*}\u003c/code\u003e, and it uses gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter is required to identify the workload using the format: \u003ccode\u003eorganizations/{org_id}/locations/{locationId}/workloads/{workload_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eetag\u003c/code\u003e query parameter is optional and if it is included, it must match the server's etag.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty and, if successful, the response body will also be empty, while authorization requires \u003ccode\u003eassuredworkloads.workload.delete\u003c/code\u003e and \u003ccode\u003eorgpolicy.policy.set\u003c/code\u003e permissions.\u003c/p\u003e\n"]]],[],null,[]]