API Description | API Path |
---|---|
List all segments under infraPaginated list of all segments under infra. |
GET /policy/api/v1/infra/segments
GET /policy/api/v1/global-infra/segments |
Delete infra segmentDelete infra segment |
DELETE /policy/api/v1/infra/segments/<segment-id>
|
Force delete infra segmentForce delete bypasses validations during segment deletion. This may result in an inconsistent connectivity. |
DELETE /policy/api/v1/infra/segments/<segment-id>?force=true
|
Read infra segmentRead infra segment |
GET /policy/api/v1/infra/segments/<segment-id>
GET /policy/api/v1/global-infra/segments/<segment-id> |
Create or update a segmentIf segment with the segment-id is not already present, create a new segment. If it already exists, update the segment with specified attributes. |
PATCH /policy/api/v1/infra/segments/<segment-id>
|
Create or update a infra segmentIf segment with the segment-id is not already present, create a new segment. If it already exists, replace the segment with this object. |
PUT /policy/api/v1/infra/segments/<segment-id>
|