Vai al contenuto principale
POST
Change Password

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json

Body of POST /users/me/change-password (requires the current password).

At least 8 characters, like POST /auth/change-password, signup, reset and the staff accounts created by the admin. It used to accept 6, so the profile page was the one way below the platform minimum; a short password is the 422 validation error, as on /auth.

old_password
string
obbligatorio
new_password
string
obbligatorio

Risposta

Successful Response