PUT - User Authentication Service

Set new SIP Authentication passowrd for a single user. Authentication service must be assigned to the user in order to use this method.

Parameters

  • user_id (str): Target user ID to reset the SIP authentication password.

  • new_password (str): New web authentication password to apply to new user. Please note: the password must be at least 6 characters and not more than 60 characters; including 1 uppercase alpha char(s); including 1 lowercase alpha char(s); In addition, it cannot contain the authentication name.

Returns

  • Dict: Python dictionary of the user that has been updated. The password will not be printed to the terminal.

How To Use:

The below code will update the user's Authentication password.

my_api.authentication.put_user_authentication_service(
    "[email protected]",
    "NewPassword123!"
)

Example Returned Data of Device (Formatted)

{
    "userId": "[email protected]", 
    "userName": "john.smith", 
    "newPassword": ""
    }

Last updated

Was this helpful?