account

Legacy password setup route; email verification required

Retained for older clients. Returns PRECONDITION_FAILED: a signed-in session alone cannot establish a password. Use POST /api/auth/request-password-reset and complete the emailed link through POST /api/auth/reset-password to set the first password or replace a forgotten one. Password reset revokes existing sessions.

post/v1/account/set-password

Request

  • Base URL: https://api.getmyhotels.com
  • URL: https://api.getmyhotels.com/v1/account/set-password
  • Auth: HTTP bearer

Request body

newPasswordstring required

Response

Success

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.