SPA User

SPA Me - Change password

Changes the password for the current user.

POST/api/spa/me/change-password

Authorizations

X-AUTH-TOKEN
stringheaderrequired

Value for the X-AUTH-TOKEN header parameter.

Request Body

application/json
required

The new SpaMe resource

{
  "currentPassword": "currentPassword123",
  "newPassword": "newSecurePassword456"
}

Response

201application/json

SpaMe resource created

success
boolean

Success status

Available options: truefalse

Example: true

message
string

Status message

Example: "Password changed successfully"