Please update to the latest patch version to use it.
Basics
POST /api/v2/proxy-list/update
Description: Update the proxy information of the specified proxy in the Proxy List. For proxies of IPFoxy, only the remark can be updated.
Request Parameters
Optional Body parameters can be omitted, and the parameter format is JSON.
Name | Type | Necessary | Default | Example | Description |
Proxy_id | text | Yes | - | 123 | The unique id after the proxy is added |
type | text | No | - | http | Proxy type, support: http/https/ssh/socks5 |
host | text | No | - | 192.168.0.1 | Proxy host, support: ipV4、ipV6 |
port | text | No | - | 8000 | Port, range: 0-65536 |
user | text | No | - | user12345678 | Proxy username |
password | text | No | - | password | Proxy password |
proxy_url | text | No | - |
ttps://www.baidu.com/
|
URL used to refresh the proxy |
remark | text | No | - | valid | remark |
ipchecker | text | No | - | ip2location |
IP checker. If left blank, the setting in Global settings will be used. Support: ip2location/ipapi/ipfoxy/ipidea |
Retuan Data
// Operation successed
{
"code": 0,
"data": {},
"msg": "Success"
}
// Operation failed
{
"code":-1,
"data":{},
"msg":"failed"
}