Management Plane API >
Networking
>
Services
>
Loadbalancer
Delete a load balancer virtual server
Delete a load balancer virtual server.
Request:
Method:
DELETE
URI Path(s):
/api/v1/loadbalancer/virtual-servers/<virtual-server-id>
Request Headers:
n/a
Query Parameters:
LbVirtualServerDeleteParameters
+
LbVirtualServerDeleteParameters
(
schema
)
Name
Description
Type
Notes
delete_associated_rules
Delete associated rules
If this is set to true, the associated rules are also deleted when
virtual server is deleted if the rules are not used by other virtual
servers.
boolean
Default: "False"
Request Body:
n/a
Example Request:
DELETE https://<nsx-mgr>/api/v1/loadbalancer/virtual-servers/a332950f-472d-4ae3-be03-e7ccefe28fbd
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
n/a
Required Permissions:
crud
Feature:
lb_virtual_servers
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable