Policy >
Networking
>
Connectivity
>
Segments
>
Ports
Delete an infra segment port
Delete an infra segment port by giving ID.
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/segments/<segment-id>/ports/<port-id>
/policy/api/v1/global-infra/segments/<segment-id>/ports/<port-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
DELETE https://<policy-mgr>/policy/api/v1/infra/segments/web-tier/ports/port1
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Example Response:
200 OK
Required Permissions:
crud
Feature:
policy_segment
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable