Okta Zones api adding IP address

I’m looking to create a script that takes in a csv file of IP address and adds them to a gateway through oktas zone api. But I cannot figure out how to actually add ips with out manually doing it. If anyone has some answers that would be great.

The direct API Docs can be found here.
This is also supported via the Terraform Provider, docs found here.

Of the two it might be easier to write a script that parses your .csv file and formats it for gateways/proxies attribute in terraform.

1 Like