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 2024-06-20 UTC."],[[["This endpoint deletes a workload, but only if its direct children are already deleted, otherwise, it will throw a `FAILED_PRECONDITION` error."],["The request is a `DELETE` HTTP method using the format `https://{endpoint}/v1beta1/{name=organizations/*/locations/*/workloads/*}`, and it uses gRPC Transcoding syntax."],["The `name` path parameter is required to identify the workload using the format: `organizations/{org_id}/locations/{locationId}/workloads/{workload_id}`."],["The `etag` query parameter is optional and if it is included, it must match the server's etag."],["The request body should be empty and, if successful, the response body will also be empty, while authorization requires `assuredworkloads.workload.delete` and `orgpolicy.policy.set` permissions."]]],[]]