Policy >
Networking
>
Network Services
>
Load Balancing
>
Load Balancer Services
Delete LBService and all the entities contained by this LBService
Delete the LBService along with all the entities contained by
this LBService.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.
Request:
Method:
DELETE
URI Path(s):
/policy/api/v1/infra/lb-services/<lb-service-id>
Request Headers:
n/a
Query Parameters:
DeleteRequestParameters
+
DeleteRequestParameters
(
schema
)
Name
Description
Type
Notes
force
Force delete the resource even if it is being used somewhere
If true, deleting the resource succeeds even if it is being
referred as a resource reference.
boolean
Default: "False"
Request Body:
n/a
Example Request:
DELETE https://<policy-mgr>/policy/api/v1/infra/lb-services/cgwService
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Example Response:
200 OK
Required Permissions:
crud
Feature:
policy_lb
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable