Change your own password
POST/api/admin/user/change-password
Requires specifying old password and confirming new password
Request
- application/json
Body
required
passwordSchema
password stringrequired
The new password to change or validate.
Example:
k!5As3HquUrQ
oldPassword string
The old password the user is changing. This field is for the non-admin users changing their own password.
Example:
Oldk!5As3HquUrQ
confirmPassword string
The confirmation of the new password. This field is for the non-admin users changing their own password.
Example:
k!5As3HquUrQ
Responses
- 200
- 400
- 401
This response has no body.
Old and new password do not match
Old password is incorrect or user is not authenticated
Loading...