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 can use '[host]:port' or '[host]:port:username:password' or 'username:password@[host]:port'.
Account only support: uppercase and lowercase letters, numbers, !@#$%^&*();.,/~+-_?<>[]=|{}

Example:
192.168.0.1:8000
socks5://192.168.0.1:8000
username:password@192.168.0.1:8000
[2001:db8:2de:0:0:0:0:e13]: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
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
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",
    "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
Groups
Last modified: 2026-01-29Powered by