PUT - User Portal Passcode

Updates the specified User's portal passcode.

Parameters

  • user_id (str): User ID of the target user you would like to change the portal passcode for.

  • new_passcode (int): New portal passcode to set for the target user.

Raises

  • AOInvalidCode: If code is less than 4 or higher than 6.

Returns

  • None: This method does not return any specific value.

How To Use:

my_api.users.put_user_portal_passcode(
    "[email protected]",
    "12345"
)

Example Data Returned (Formatted)

[]

Last updated

Was this helpful?