Delete Zones
DescriptionDeletes the zone with the specified identifier. In order to delete a zone, there must not be any workload running in that zone because deleting the zone without removing all the dependencies on that zone can cause undefined behavior for the entities depending on this zone to be present. if you do not have all of the privileges described as follows: - Operation execution requires Zone.Manage.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the zone to be deleted. The parameter must be an identifier for the resource type: com.vmware.vcenter.consumption_domains.Zone.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Errors
Errors
com.vmware.vapi.std.errors.not_allowed_in_current_state : if there is a workload running in the specified zone and depends on this zone to be present.
com.vmware.vapi.std.errors.unauthorized : if the user doesn’t have all of the privileges described as follows: - The resource com.vmware.vcenter.consumption_domains.Zone referenced by the parameter zone requires Zones.Manage privilege.
com.vmware.vapi.std.errors.not_found : if no zone with the specified identifier is found in this vCenter server.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: delete