List sublocations

GET https://{{host}}/etp-config/v3/configs/:configId/sites/:siteId/sub-locations

Returns the list of sublocations for the site.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{"accessConfig":{"configurable":true,"delegatedAdmins":[],"readable":true},"createdBy":"jsmith","createdDate":"2021-09-21T05:27:02.131+00:00","exitPoints":[{"addrType":"ADDR_TYPE_IPV4","ipAddr":"192.0.2.238/24"}],"id":2878,"isOffnetworkLocation":false,"modifiedBy":"alfulani","modifiedDate":"2021-09-21T05:27:02.131+00:00","name":"sub","policyId":4120,"policyInfo":{"id":4120,"name":"P1"},"subLocations":[]}]