List all Network Zones

GET {{baseUrl}}/api/v1/zones

Lists all network zones with pagination. A subset of zones can be returned that match a supported filter expression or query.

This operation requires URL encoding. For example, filter=(id eq "nzoul0wf9jyb8xwZm0g3" or id eq "nzoul1MxmGN18NDQT0g3") is encoded as filter=%28id+eq+%22nzoul0wf9jyb8xwZm0g3%22+or+id+eq+%22nzoul1MxmGN18NDQT0g3%22%29.

Okta supports filtering on the id and usage properties. See Filtering for more information on the expressions that are used in filtering.

Request Params

KeyDatatypeRequiredDescription
afterstringSpecifies the pagination cursor for the next page of network zones
limitnumberSpecifies the number of results for a page
filterstringFilters zones by usage or id expression

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{"asns":["ea","aliquip magna cupidatat ea"],"created":"1995-10-07T05:31:31.851Z","gateways":[{"type":"CIDR","value":"reprehenderit"},{"type":"CIDR","value":"non reprehenderit consequat occaecat"}],"id":"Lorem ea veniam do dolor","lastUpdated":"1970-03-07T00:50:31.837Z","locations":[{"country":"US","region":"US-CA"},{"country":"US","region":"US-CA"}],"name":"newNetworkZone","proxies":[{"type":"CIDR","value":"fugiat dolore minim magna"},{"type":"CIDR","value":"in sunt labore"}],"proxyType":"ANY","status":"ACTIVE","system":false,"type":"IP","usage":"BLOCKLIST","_links":{"ut_4bc":{},"Ut9":{}}},{"asns":["proident commodo","qui proident esse"],"created":"2016-10-31T03:55:45.540Z","gateways":[{"type":"CIDR","value":"dolor ad mollit adipisicing elit"},{"type":"CIDR","value":"sint officia fugiat aliqua"}],"id":"elit enim nostrud Ut","lastUpdated":"1948-03-22T20:11:58.754Z","locations":[{"country":"US","region":"US-CA"},{"country":"US","region":"US-CA"}],"name":"newNetworkZone","proxies":[{"type":"CIDR","value":"ex sint officia sed"},{"type":"CIDR","value":"ullamco velit"}],"proxyType":"ANY","status":"ACTIVE","system":false,"type":"IP","usage":"BLOCKLIST","_links":{"et14b":{},"Ut_9":{},"ut_1ec":{}}}]