Policy >
Networking
>
Connectivity
>
Segments
>
Segments
Delete infra segment
Delete infra segment
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.
Request:
Method:
DELETE
URI Path(s):
/policy/api/v1/infra/segments/{segment-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/segments/{segment-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
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
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable