Skip to content

Change password
deprecated

Request

Deprecated. Use Change my password (POST /api/v1/users/me/password/change). Behaviour is identical.

Security
apikeyAuth
Bodyapplication/jsonrequired
oldPasswordstring, (password)required
Example:"********"
newPasswordstring, (password)required
Example:"********"
confirmNewPasswordstring, (password)required
Example:"********"
curl -i -X POST \
  https://ecommunicate-api-docs.redocly.app/_mock/apis/omnichannel/payless4messaging-service/WhatsApp/SystemUsers/changePassword \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "oldPassword": "OldP@ssw0rd",
    "newPassword": "NewSecureP@ss123",
    "confirmNewPassword": "NewSecureP@ss123"
  }'

Responses

Confirmation that the password was changed successfully

Bodyapplication/json
messagestring
Example:"Password changed successfully"
Response
{ "message": "Password changed successfully" }