> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eclipseproxy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update subuser password

> PUT /api/reseller/v1/subusers/{id}/password: reset a subuser's password

Reset the password for a specific subuser.

## Authentication

Requires a reseller API key. Pass it as `Authorization: Bearer YOUR_API_KEY` or `X-API-Key: YOUR_API_KEY`. See [Reseller overview](/api/reseller/overview#authentication).

## Path parameters

<ParamField path="id" type="string" required>
  The subuser username (full prefixed username, e.g. `MYSTORE_user1`).
</ParamField>

## Body parameters

<ParamField body="newPassword" type="string" required>
  The new password for the subuser.
</ParamField>

## Example request

```json theme={"dark"}
{
  "newPassword": "NewSecurePassword456!"
}
```

## Example response

```json theme={"dark"}
{
  "status": "success",
  "message": "Password updated",
  "messageCode": "PASSWORD_UPDATED",
  "data": {
    "username": "MYSTORE_user1",
    "newPassword": "NewSecurePassword456!"
  }
}
```

## Errors

* **401** `UNAUTHORIZED`: missing or invalid API key
* **403** `NOT_RESELLER`: account is not a reseller
* **404** `NOT_FOUND`: no subuser with that username
