PUT account/password

Update user's password. Password reset code or current password required .

Request

URL ( doesn't require authentication )

https://api-lease.crexi.com/account/password

Body Parameters

Password reset code or current password and a new password. To obtain a password reset code see PUT /account/password-reset API method

OldPassword

string

Optional

Password

string

Required

Data type: Password

PasswordResetCode

globally unique identifier

Optional

Example

JSON

{
  "Password": "fK:)(*T$;",
  "PasswordResetCode": "12fa5233-a3c5-43e2-a4fb-48be8f7f2525"
}

Response

Details

Returns an HTTP 200 OK response code and sets the new password if the provided password reset code or current password are valid and not expired. Returns 400 Bad Request and an error message otherwise.