For the complete documentation index, see llms.txt. This page is also available as Markdown.

Change password

Change user password

put
/auth/change-password

This endpoint allows the authenticated user to change their password.

Header parameters
AuthorizationstringRequired

Bearer token for authentication.

Body
oldPasswordstringRequiredExample: fsdfsfs43543
newPasswordstringRequiredExample: Picco123@
Responses
200

Password successfully changed

*/*
statusintegerOptional
messagestringOptional
put/auth/change-password
PUT /backend/api/auth/change-password HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: */*
Accept: */*
Content-Length: 56

{
  "oldPassword": "fsdfsfs43543",
  "newPassword": "Picco123@"
}
{
  "status": 1,
  "message": "Password successfully changed"
}