REST API - delete

vcenter compute policies: delete

Deletes a specific compute policy in VMware Cloud on AWS. Usage beyond VMware Cloud on AWS is not supported. Warning: This operation is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

Request:

HTTP request

DELETE https://{server}/api/vcenter/compute/policies/{policy}

Path Parameters

Name Type Description
Required
policy string Identifier of the policy to be deleted.

Response:

HTTP Status Code: 204

Headers:

None

Type:

None

Errors:

HTTP Status Code Type Description
404 not_found if a policy with this identifier does not exist.
403 unauthorized if the user doesn't have the required privileges, or when used beyond VMware Cloud on AWS.