To update the JumpCloud RADIUS server public IP via the API, the following is needed:<\/p>\n\n\n\n
To get a list of all RADIUS servers in the organization:<\/p>\n\n\n\n
curl \\
\u00a0\u00a0-X ‘GET’ \\
\u00a0\u00a0-H ‘Content-Type: application\/json’ \\
\u00a0\u00a0-H ‘Accept: application\/json’ \\
\u00a0\u00a0-H “x-api-key: YOUR_API_KEY” \\
\u00a0\u00a0“https:\/\/console.jumpcloud.com\/api\/radiusservers\/<\/a> “
\/* Remove the space before ” in the last line of code. *\/<\/p>\n<\/div><\/div>\n\n\n\n
curl \\
\u00a0\u00a0-X ‘PUT’ \\
\u00a0\u00a0-H ‘Content-Type: application\/json’ \\
\u00a0\u00a0-H ‘Accept: application\/json’ \\
\u00a0\u00a0-H “x-api-key: YOUR_API_KEY” \\
\u00a0\u00a0-d ‘{“name”: “YOUR_RADIUS_SERVER_NAME”, “networkSourceIp” : “YOUR.NEW.IP.ADDR”, “sharedSecret”: “YOUR_SHARED_SECRET”}’ \\
\u00a0\u00a0“https:\/\/console.jumpcloud.com\/api\/radiusservers\/:id<\/a> “
\/* Remove the space before ” in the last line of code. *\/<\/p>\n<\/div><\/div>\n\n\n\n
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<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"