Change (or set) the logged-in user's password
Auth: User JWT
Accounts with a password: requires currentPassword, or a reauth (fresh provider sign-in for the account's own email) in its place, for users who sign in with Google and do not know it. Accounts without one (Google / Facebook / Apple / wallet sign-ups) SET a password here instead and must prove identity first: reauth (a fresh provider sign-in whose email must match the account) or, when MFA is on, mfaCode. Without proof the call answers 409 REAUTH_REQUIRED with details.methods. On success every other interactive session of the user is ended (API keys and OAuth grants are kept); the calling session stays valid.
Request
- Base URL: https://api.chat.ethora.com
- URL: https://api.chat.ethora.com/v2/users/me/password
- Auth: HTTP bearer
Request body
Response
{ success: true, sessionsRevoked: number, passwordSet?: true }
Changes
No recorded changes to this operation across all 1 revision of this API.