- Your API Key
- The ObjectId of the RADIUS server
- The new IP address
curl \ -X 'GET' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H "x-api-key: YOUR_API_KEY" \ "https://console.jumpcloud.com/api/radiusservers/"
Note the RADIUS server _id from the results above to be updated, then, to update the RADIUS server with a given _id, replace :id in the below URL:
curl \ -X 'PUT' \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -H "x-api-key: YOUR_API_KEY" \ -d '{"networkSourceIp":"YOUR.NEW.IP.ADDR"}' \ "https://console.jumpcloud.com/api/radiusservers/:id"
For an example bash script that can be configured to run as a regular cron job on a system that is on a network using your dynamic public IP, see our support repository on GitHub.