v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Change Password

Lets you modify the current password of a customer. This is applicable only for brands for which password is enabled.

post/auth/v1/web/password/change

Request body

identifierTypestring required

Identifier used for token generation. Values: MOBILE, EMAIL, USERNAME.

identifierValuestring required

Value of the specified identifierType.

brandstring required

Name of the brand/org for which authentication needs to be verified.

deviceIdstring required

Unique ID of the device used for changing password. Applicable only for mobile app.

passwordstring required

Current password of the account.

newPasswordstring required

New password of the account.

confirmPasswordstring required

Reenter the new password.

tokenstring required

Unique token generated for the identifierType, identifierValue and for web application, and including deviceId for the mobile application.

Response

200

Example response

{
  "status": {
    "success": true,
    "code": 200,
    "message": "SUCCESS"
  }
}