This can also now be handled within the ºÚÁϺ£½Ç91Èë¿Ú Admin Portal interface. See Manage Password and Security Settings.
Two attributes are available for the ºÚÁϺ£½Ç91Èë¿Ú API /radiusservers/{radiusserver_id} endpoint.
The values for each attribute are maintain or remove.
- userLockoutAction - This attribute controls the action taken when a user is locked out. If set to remove, when a user is locked out of ºÚÁϺ£½Ç91Èë¿Ú due to repeated failed login attempts, the user is removed from the RADIUS server and can no longer authenticate. If set to maintain, when a user is locked out of ºÚÁϺ£½Ç91Èë¿Ú, they remain and can still authenticate.
- ​u²õ±ð°ù±Ê²¹²õ²õ·É´Ç°ù»å·¡³æ±è¾±°ù²¹³Ù¾±´Ç²Ô´¡³¦³Ù¾±´Ç²Ô - This attribute controls the action taken when a user’s ºÚÁϺ£½Ç91Èë¿Ú account password expires. If set to remove, when a user’s account password expires, the user is removed from the RADIUS server and can no longer authenticate. If set to maintain, when a user’s password expires, they remain and can still authenticate.
The default setting for both attributes for RADIUS servers added after October 28, 2019 is maintain. It's important to note that this setting doesn't change for existing RADIUS servers and Google Workspace integrations; it only affects RADIUS servers created after October 28, 2019.
To see a list of RADIUS servers and their settings for the new attributes, do an HTTP GET request. See the Sample Requests for an example GET call.
Sample Requests
The following sample is an example request of an HTTP PATCH call containing the new attributes.
curl -X PATCH https://console.jumpcloud.com/api/radiusservers/{radiusserver_ID} \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: {API_KEY}' \
-d '{
"userLockoutAction": "maintain",
"userPasswordExpirationAction": "remove"
}'
The following sample is an example request of an HTTP GET call to see a list of RADIUS servers.
curl -X GET https://console.jumpcloud.com/api/radiusservers/ \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: {API_KEY}' \
Be sure to replace {API_KEY} and {radiusserver_ID} with your own values and remember to remove the brackets { } around the values.