Update Account Password¶
Updates an existing user's password.
PUT
https://{some_domain}/password
Authorization¶
This endpoint requires an authenticated session with one of the following access types:
SESSION_MANAGERSESSION_ADMINSESSION_DEALER
Request¶
Content-Type: application/json
Body Parameters¶
| Field | Type | Required | Validation | Description |
|---|---|---|---|---|
login |
int | Yes | >= 0 |
User account login |
password |
string | Yes | length 6..64 chars |
New account password |
Request Example¶
{
"login": 100001,
"password": "new-strong-password"
}
Response¶
Success (200)¶
{
"login": "OK"
}
Error Responses¶
| HTTP | error |
Description |
|---|---|---|
| 400 | INVALID_DATA |
Request validation failed |
| 401 | UPDATE_PASSWORD_ERROR |
Password update failed (message contains internal error details) |
Error Example¶
{
"error": "UPDATE_PASSWORD_ERROR",
"message": "<formatted internal error>"
}
Notes¶
- Endpoint is internally handled by command
UpdateAccountPassword. - Route pattern:
PUT /password(optional trailing slash is supported).