user

POST /api/user/password-reset/confirm

Changed on

Set a new password from a reset link's uid and token.

Logs the user in and returns their profile, as the login endpoint does.

Request

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

Request body

uidstring required
tokenstring required
newPasswordstring required
otpstring

Response

idinteger required
emailstring email required
isStaffboolean required

Is the user a member of staff?

identityConfirmedboolean required

Set automatically when the signed affidavit of an organization this user edits is received (the organization is made a member). Tick by hand only for someone who is not an editor.

dateJoinedstring date-time required
firstNamestring
lastNamestring
dateOfBirthstring date nullable
phoneNumberstring

Phone number at which this user can be reached

Changes

    • breaking

      added to the oneOf[#/components/schemas/UserPasswordResetConfirmCreateValidationError]/errors/items response property oneOf list for the response status

    • info

      added the new optional request property otp

    • info

      added otp discriminator mapping keys to the oneOf[#/components/schemas/UserPasswordResetConfirmCreateValidationError]/errors/items response property for the response status