# 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": []
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hidemium.io/api-zi-dong-hua/dai-li/1.-geng-xin-dai-li.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
