Menu

Modify Proxy

Usage Instructions

Modify the custom proxy. The format of proxy is as follows:
IPv4 can use 'host:port' or 'host:port:username:password' or 'username:password@host:port'.
IPv6 is not supported yet.
Account only support: uppercase and lowercase letters, numbers, !@#$%^&*();.,/~+-_?<>[]=|{}

Example:
192.168.0.1:8000
socks5://192.168.0.1:8000
http://192.168.0.1:8000
username:password@192.168.0.1:8000

Request Instructions

POST /api/v1/proxy/update

Request Parameters

Parameter Type Required Description
id string Yes Proxy ID, can be obtained from the proxy list
host string No IP or domain. IPv6 is not supported yet.
port int No Port
user string No Username
password string No Password
name string No Name
ip_scan_channel string No Proxy detection channels, supporting: ip2location, ipapi
protocol string No Proxy type, supporting: socks5, http, https. Defaults to socks5 if omitted.
refresh_url string No Change IP URL
proxy_url string No Proxy information

Request Example

json Copy
{
    "id": "xx",
    "name": "xx",
    "host": "xx",
    "port": "xx",
    "user": "xx",
    "password": "xx",
    "ip_scan_channel": "ip2location",
    "protocol": "socks5",
    "refresh_url": "xx",
    "proxy_url": "xxxx:xxxx@xxxx:xxx"
}

Response Example

json Copy
{
    "code": 200,
    "data": {
        "message": "success",
        "result": []
    },
    "message": "success"
}
Previous
Batch Refresh URL
Next
Check Proxy
Last modified: 2026-07-10Powered by