Change password
Change the password for the user identified by the username.
Validation rules :
- The new password should not be null or blank.
POST
/rest/api/admin/user/{username}/passwordPath parameters
usernamestringrequiredthe username identifying the given user
Request body
application/jsonpasswordstringResponses
204
returns no content if the password is changed successfully
400
returned if any error occurs while changing user password. Refer to the validation rules above.
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring403
returned if user does not have enough permission to change another user's password. User should be a System admin
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring404
returned if user with specified userName not found
statusCodeinteger<int32>dataValidationResultShow propertiesHide properties
authorizedbooleanvalidbooleanerrorsobjectsuccessfulbooleanallowedInReadOnlyModebooleanmessagestringreasonstring