NSX-T Data Center REST API
Delete virtual network appliance(VNA)
This API is used to delete the virtual network appliance (VNA). When "force" is used as a query parameter,the system will attempt to delete the VNA from vCenter.
This "best effort" approach ensures the VNA is not left in a stale state,
even if failures occur during the deletion process. However, VNA cannot be deleted
if it hosts any logical networking entities, even when using "force".
After a successful force delete API execution, user must confirm that the
VNA virtual machine has been removed from the vCenter Server.
Request:
Method:
DELETE
URI Path(s):
/policy/api/v1/infra/sites/{site-id}/enforcement-points/{enforcementpoint-id}/virtual-network-appliance-clusters/{virtual-network-appliance-cluster-id}/virtual-network-appliances/{virtual-network-appliance-id}
Request Headers:
n/a
Query Parameters:
VirtualNetworkApplianceDeleteRequestParameters+
Request Body:
n/a
Example Request:
DELETE https://<policy-mgr>/policy/api/v1/infra/sites/default/enforcement-points/default/virtual-network-appliance-clusters/my-virtual-network-appliance-cluster-id/virtual-network-appliances/my-virtual-network-appliance-idSuccessful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a