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 return a `FAILED_PRECONDITION` error."],["The HTTP request uses a `DELETE` method and follows gRPC Transcoding syntax with a specific URL structure: `https://{endpoint}/v1/{name=organizations/*/locations/*/workloads/*}`."],["The `name` path parameter is required to identify the workload in the format `organizations/{org_id}/locations/{locationId}/workloads/{workload_id}` and the `assuredworkloads.workload.delete` IAM permission is needed."],["An optional `etag` query parameter can be included to match the server's etag and the request body must be empty."],["Successful requests return an empty response body, and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope is necessary for authorization."]]],[]]