Skip to main content
Use this endpoint to update your Dashboard account password. You must supply your current password as verification before Shogun accepts the new one. The change takes effect immediately.

Endpoint

POST https://baasapi.payrepmfb.com/api/v1/auth/web/change_password
Authentication required: Authorization: Bearer <access_token>

Request body

old_password
string
required
Your current Dashboard account password.
new_password
string
required
The new password you want to set for your account.
confirm_password
string
required
Repeat the new password. Must exactly match new_password.

Example request

curl --request POST \
  --url https://baasapi.payrepmfb.com/api/v1/auth/web/change_password \
  --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...' \
  --header 'Content-Type: application/json' \
  --data '{
    "old_password": "current-secure-password",
    "new_password": "new-secure-password",
    "confirm_password": "new-secure-password"
  }'

Response

A successful request confirms the password has been updated.
{
  "status": true,
  "response_code": "00",
  "message": "Password changed successfully",
  "data": {}
}
Changing your password immediately invalidates all active sessions, including the current one. You and any other team members using the same credentials will need to log in again with the new password.