- okta.networkZones.manage
Activates a Network Zone by zoneId
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/zones/{zoneId}/lifecycle/activate
curl -i -X POST \
https://subdomain.okta.com/api/v1/zones/nzowc1U5Jh5xuAK0o0g3/lifecycle/activateSuccess
Indicates a system Network Zone:
truefor system Network Zonesfalsefor custom Network Zones
The Okta org provides the following default system Network Zones:
LegacyIpZoneBlockedIpZoneDefaultEnhancedDynamicZoneDefaultExemptIpZone
Admins can modify the name of the default system Network Zone and add up to 5000 gateway or proxy IP entries.
The type of Network Zone
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
You can only use this parameter when making a request to the Replace the network zone endpoint (/api/v1/zones/{zoneId}). Set this parameter to true in your request when you update the DefaultExemptIpZone to allow IPs through the blocklist.
The IP addresses (range or CIDR form) for an IP Network Zone. The maximum array length is 150 entries for admin-created IP zones, 1000 entries for IP blocklist zones, and 5000 entries for the default system IP Zone.
The IP addresses (range or CIDR form) that are allowed to forward a request from gateway addresses for an IP Network Zone. These proxies are automatically trusted by Threat Insights and used to identify the client IP of a request. The maximum array length is 150 entries for admin-created zones and 5000 entries for the default system IP Zone.
{ "type": "IP", "id": "nzowc1U5Jh5xuAK0o0g3", "name": "MyIpZone", "status": "ACTIVE", "usage": "POLICY", "created": "2021-06-24T20:37:32.000Z", "lastUpdated": "2021-06-24T20:37:32.000Z", "system": false, "gateways": [ { … } ], "proxies": [ { … } ], "_links": { "self": { … }, "deactivate": { … } } }