> For the complete documentation index, see [llms.txt](https://docs.hidemium.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hidemium.io/api-zi-dong-hua/dai-li/1.-geng-xin-dai-li.md).

# 1. 更新代理

更新资料的代理

## 申请

| 模式  | URL                                                                                                                                                                                       |
| --- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| PUT | <http://127.0.0.1:5555/delete-profile>[&#xD;](<http://127.0.0.1:5555/change-status&#xD;&#xA;&#xD;&#xA;>)[&#xD;](<http://127.0.0.1:5555/profileList?page=1\&limit=10&#xD;&#xA;&#xD;&#xA;>) |

**Body**

```
{
    "uuid": "992d5efd-7709-4f2b-a1b1-50a16ca2b3bf",
    "title": "title",
    "ip": "222.22.22.222",
    "port": "222",
    "user": "222",
    "pass": "222",
    "type": "HTTP",
    "note": "note",
    "details": {
        "ip": "141.95.19.6s5",
        "hostname": "vps-efd874c9.vps.ovh.net",
        "city": "Limburg an der Lahn",
        "region": "Hesse",
        "country": "CA",    
        "loc": "50.3836,8.0503",
        "org": "AS16276 OVH SAS",
        "postal": "65549",
        "timezone": "Europe/Berlin",
        "asn": {
            "asn": "AS16276",
            "name": "OVH SAS",
            "domain": "ovh.net",
            "route": "141.95.0.0/17",
            "type": "hosting"
        }
    }
}
```

* uuid：代理的 UUID，需要使用 API 列表配置文件来获取代理的 UUID
* ip：IP地址
* port：访问端口
* user：代理用户名
* pass：代理密码
* type：代理类型（HTTP、SOCKS4、SOCKS5、SSH）
* details：代理详细信息：ip、位置、组织、城市、地区、国家、时区、asn。

## 响应

```
{
    "type": "success",
    "title": "Update successfully.",
    "content": []
}
```
