Policy > Networking > Connectivity > Segments > Segments

Force delete infra segment

Force delete bypasses validations during segment deletion. This may result in an inconsistent connectivity.

Request:

Method:
DELETE
URI Path(s):
/policy/api/v1/infra/segments/{segment-id}?force=true
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/segments/{segment-id}?force=true
Request Headers:
n/a
Query Parameters:
SegmentDeleteRequestParameters+
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: