Authentication (Allauth Headless)

Change password

In order to change the password of an account, the current and new password must be provider. However, accounts that were created by signing up using a third-party provider do not have a password set. In that case, the current password is not required.

post/api/v2/allauth/app/v1/account/password/change

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

client'app' | 'browser' required

The type of client accessing the API.

Headers

X-Session-Tokenstring

Session token. Only needed when client is equal to app.

Request body

current_passwordstring

The password.

new_passwordstring required

The current password.

Example request

{
  "current_password": "Alohomora!",
  "new_password": "Aberto!"
}

Changes

No recorded changes to this operation across all 50 revisions of this API.