---
title: "Update sub user"
method: PUT
path: "/v2/sub-users/{sub_user_id}"
tags: ["Sub-users"]
---

# Update sub user

`PUT /v2/sub-users/{sub_user_id}`

Update password or traffic limit of specified sub user

## Path parameters

- `sub_user_id` integer, required

## Request body

- object
  - `traffic_limit` number, float — Traffic limit
  - `auto_disable` boolean — Disables subuser when the traffic limit is hit
  - `password` string, json — Must include: 12 or more characters; at least one upper case letter; one lower case letter; one number; one of these symbols `_` `~` `+` `=` (`@` and `:` are not allowed).
  - `traffic_count_from` string, date — Handles subuser subscription traffic starting from the specified date. Use date format yyyy-mm-dd hh:mm:ss.
  - `status` 'active' | 'disabled'

## Response `201`

201

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/decodo/apis/smartproxy.md) · [All operations](https://skmtc.dev/decodo/apis/smartproxy/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/decodo/smartproxy/revisions/561ae165491a/schema)
