Update a user’s VPN password
Description
Update a user’s VPN password on the SoftLayer customer portal. As with portal passwords, VPN passwords must match the following restrictions. VPN passwords must…
- …be over eight characters long.
- …be under twenty characters long.
- …contain at least one uppercase letter
- …contain at least one lowercase letter
- …contain at least one number
- …contain one of the special characters _ - | @ . , ? / ! ~ # $ % ^ & * ( ) { } [ ] \ =
- …not match your username
Finally, users can only update their own VPN password. An account’s master user can update any of their account users’ VPN passwords.
Parameters
Name |
Type |
Description |
password |
string |
Your new VPN password |
Required Headers
Optional Headers
Return Values
Error Handling
- Throws the exception “Access is denied.” if a user tries to change another user’s VPN password and is not the account’s master user.
- Throws the exception “Your VPN password must” followed by a list of violated password rules if the given password fails to match any of the above restrictions.
Associated Methods
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Customer_OpenIdConnect/{SoftLayer_User_Customer_OpenIdConnectID}/updateVpnPassword'