Auth

Change current user password

Auth: User JWT

Change the current user's password. Pass newPassword (preferred); npassword is accepted as a deprecated alias for backward compatibility - if both are present, newPassword wins.

post/v1/users/changePassword

Request

  • Base URL: https://api.chat.ethora.com
  • URL: https://api.chat.ethora.com/v1/users/changePassword
  • Auth: HTTP bearer

Request body

passwordstring required

Current account password.

newPasswordstring

New password to set. 8+ characters recommended.

npasswordstring

Deprecated - kept as a backward-compatible alias for newPassword. New integrations should use newPassword. If both are sent, newPassword wins.

Response

{
  success: boolean,
  msg: string
} |
{
  success: false,
  msg: 'Wrong Current Password'
} |
{
  success: false,
  errors: [{msg: string}]
}

Changes

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