organizations
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.
delete/v1/{+name}
Request
- Base URL: https://assuredworkloads.googleapis.com
- URL: https://assuredworkloads.googleapis.com/v1/{+name}
- Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
Path parameters
namestring required
Required. The name field is used to identify the workload. Format: organizations/{org_id}/locations/{location_id}/workloads/{workload_id}
Query parameters
etagstring
Optional. The etag of the workload. If this is provided, it must match the server's etag.
Response
Successful response
Changes
- breaking
removed the media type
*/*for the response with the status
- breaking