# Update Proxy Users Information

### Basic Information

**Interface Description:** Update proxy users information of Thordata Residential Proxies or Unlimited Proxy Servers through interface

**Interface URL:** <https://openapi.thordata.com/api/proxy-users/update-user>

**Request Method:** <mark style="color:orange;">POST</mark>

### Request parameters

**Headers：**

<table><thead><tr><th>Parameter name</th><th width="163">Type</th><th width="127">Required</th><th>Describe</th></tr></thead><tbody><tr><td><code>token</code></td><td>string</td><td>Yes</td><td>Please log in to the  <a href="https://dashboard.thordata.com/account-settings"><strong>Dashboard-MENU-My Account</strong></a> to view your token parameter value</td></tr></tbody></table>

**Body：**

<table><thead><tr><th>Parameter name</th><th width="175">Type</th><th width="110">Required</th><th>Describe</th></tr></thead><tbody><tr><td><code>proxy_type</code></td><td>number</td><td>Yes</td><td>Select the proxy type: 1 is Residential Proxies, 2 is Unlimited Proxy servers (default is 1)</td></tr><tr><td><code>username</code></td><td>string</td><td>Yes</td><td>The proxy username that needs to be updated</td></tr><tr><td><code>new_username</code></td><td>string</td><td>Yes</td><td>Updated proxy username</td></tr><tr><td><code>new_password</code></td><td>string</td><td>Yes</td><td>Updated proxy user password</td></tr><tr><td><code>new_traffic_limit</code></td><td>number</td><td>Yes</td><td>Updated proxy user traffic limit, minimum 100MB, 0 means no limit</td></tr><tr><td><code>new_status</code></td><td>string</td><td>Yes</td><td>Updated proxy user status, true is enabled, false is disabled</td></tr></tbody></table>

### Response example

```json
{
    "code": 200,
    "data": {},
    "msg": "ok"
}
```

{% hint style="info" %}
If the returned code value is not 200, please check the [**error code description list**](https://doc.thordata.com/interface-documentation/error-code/error-code-description) and modify it.
{% endhint %}

<table><thead><tr><th width="206">Parameter name</th><th>Type</th><th width="139">Required</th><th>Describe</th></tr></thead><tbody><tr><td><code>code</code></td><td>number</td><td>No</td><td>-</td></tr><tr><td><code>data</code></td><td>object</td><td>No</td><td>-</td></tr><tr><td><code>msg</code></td><td>string</td><td>No</td><td>-</td></tr></tbody></table>
