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 string required
The new password to change or validate.
- oldPassword string
The old password the user is changing. This field is for the non-admin users changing their own password.
- confirmPassword string
The confirmation of the new password. This field is for the non-admin users changing their own password.
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...