Change the current user's password

Verifies the current password and replaces it with a new password of at least eight characters for the authenticated user.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Request

This endpoint expects an object.
old_passwordstringRequiredformat: "password"
new_passwordstringRequiredformat: "password">=8 characters

Response

The current user's password was updated.
statusstringOptional
messagestringOptional
datalist of anyOptional

Errors

400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error