Change the user's password

This endpoint starts the process of changing a user's password. An active user session is required for this endpoint. This process ends with an OTP (One-time password) being sent to the user's email address.

SecurityCookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Request
Request Body schema: application/json
required
object
required
object
Responses
200

OK - The process of changing the user's password was started successfully

400

Bad Request - Wrong validators have been supplied with this request

404

Not Found - User was not found

post/zephr/users/change-password
Request samples
application/json
{
  • "current_validators": {
    },
  • "new_validators": {
    }
}