Policy > Networking > Connectivity > Segments > State

Get infra segment state information

Get infra segment state information.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/segments/{segments-id}/state
/policy/api/v1/global-infra/segments/{segments-id}/state
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/segments/{segments-id}/state
Request Headers:
n/a
Query Parameters:
L2L3RuntimeRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/segments/tier0-ls/state?enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SegmentConfigurationState+

Example Response:

{ "logical_switch_id": "211fe0fb-ae0c-4e16-9560-4b7647adefd8", "state": "success", "details": [] }

Required Permissions:

read

Feature:

policy_segment

Additional Errors: