user

POST /api/user/password

Changed on

Change your own password, given the current one.

Django's PasswordChangeForm: the current password must be right and the new one must pass AUTH_PASSWORD_VALIDATORS. Other sessions end (the session auth hash rotates); this one stays signed in. Someone holding only a stolen session cannot use this to take the account over; they would have to know the password, or have the mailbox for a reset.

Request

  • The document declares no server URL.
  • Auth
    • API key in header Authorization
    • or API key in cookie sessionid

Request body

currentPasswordstring required
newPasswordstring required

Response

No response body

Changes