Policy > Networking > Connectivity > Segment > Segments (Fixed)

Associated URIs:

API Description API Path

List all segments under tier-1 instance


Paginated list of all segments under Tier-1 instance
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/segments
GET /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments

Delete segment


Delete segment
DELETE /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>

Force delete segment


Force delete bypasses validations during segment deletion. This may result in an inconsistent connectivity.
DELETE /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>?force=true

Read segment


Read segment
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>
GET /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>

Create or update a segment


If 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/tier-1s/<tier-1-id>/segments/<segment-id>

Create or update a segment


If 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/tier-1s/<tier-1-id>/segments/<segment-id>

Delete static ARP config


Delete static ARP config
DELETE /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/static-arp

Read static ARP config


Read static ARP config
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/static-arp
GET /policy/api/v1/global-infra/tier-1s/<tier-1-id>/segments/<segment-id>/static-arp

Create or update a static ARP config


Create static ARP config with Tier-1 and segment IDs provided if it doesn't exist,
update with provided config if it's already created.
PATCH /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/static-arp

Create or update a static ARP config


Create static ARP config with Tier-1 and segment IDs provided if it doesn't exist,
update with provided config if it's already created.
PUT /policy/api/v1/infra/tier-1s/<tier-1-id>/segments/<segment-id>/static-arp