---
title: "Update subuser"
method: POST
path: "/v4/account/{subAccountId}/residential/subuser/{subUserId}/update"
tags: ["Residential"]
---

# Update subuser

`POST /v4/account/{subAccountId}/residential/subuser/{subUserId}/update`

## Request

- Base URL: `https://api.proxyscrape.com`
- URL: `https://api.proxyscrape.com/v4/account/{subAccountId}/residential/subuser/{subUserId}/update`
- Auth: API key in header `api-token`
- TypeScript: <https://skmtc.dev/proxyscrape/apis/proxyscrape-account-api/docs/v4/account/:subAccountId/residential/subuser/:subUserId/update/post.ts> (a function with typed inputs; its response is checked against the schema)

Update a residential subuser's username or password. Permission: `residential:write`.

## Path parameters

- `subAccountId` string, uuid, required
- `subUserId` string, required

## Request body

- object
  - `username` string
  - `password` string

## Response `200`

Updated subuser

- object
  - `id` string
  - `username` string
  - `created_at` string

---

[API](https://skmtc.dev/proxyscrape/apis/proxyscrape-account-api.md) - [All operations](https://skmtc.dev/proxyscrape/apis/proxyscrape-account-api/llms.txt) - [OpenAPI document](https://skmtc.dev/proxyscrape/apis/proxyscrape-account-api/revisions/4e10267785e1?raw)
