user.set_password ================= Set the password of the specified `username` to the `new_password` specified in payload. ValidationErrors will be raised in the following situations: * username does not exist * account is not local to the NAS (Active Directory, LDAP, etc) * account has password authentication disabled * account is locked NOTE: when authenticated session has less than FULL_ADMIN role, password changes will be rejected if the payload does not match the currently-authenticated user. NOTE: users authenticated with a one-time password will be able to change the password without submitting a second time. .. raw:: html
Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: set_password_data

set_password_data

Type: object
No Additional Properties

Username

Type: string

Old Password

Default: null

Type: string
Type: null

New Password

Type: string

Must be at least 1 characters long

Result

Type: null


*Required roles:*