Users

Update password

Changed on

Update the user's password. A user's password can only be updated when authenticated as the given user.

post/v3/users/{id}/update-password

Request

  • Base URL
    https://api.cryptlex.com
  • URL
    https://api.cryptlex.com/v3/users/{id}/update-password
  • Auth
    HTTP bearer

Path parameters

idstring required

Request body

oldPasswordstring required

Old password of the user.

newPasswordstring required

New password of the user.

Response

No Content

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request's body type changed from no type to object

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the response property's minLength was decreased from 1 to 0 for the response status

    • warning

      removed subschema #2 from the request body allOf list

    • breaking

      request body became required

    • breaking

      removed the media type application/*+json from the request body

    • breaking

      removed the media type text/json from the request body

    • breaking

      the request property type changed from no type to object

    • warning

      deleted the header request parameter Authorization

    • info

      api operation id post/v3/users/{id}/update-password removed and replaced with UpdatePasswordUser

    • info

      the endpoint scheme security JWT was added to the API