curl --request PATCH \
--url https://api.gologin.com/browser/proxy/many/v2 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"proxies": [
{
"profileId": "6200f55e7685342e170dc531",
"proxy": {
"mode": "http",
"id": "6201422450e3b9cd602f24e1",
"host": "127.0.0.1",
"port": 80,
"username": "user",
"password": "password",
"changeIpUrl": "https://some-proxy-provider.com/change-ip",
"customName": "My Proxy"
}
}
]
}
'Updates the proxy for multiple profiles.
curl --request PATCH \
--url https://api.gologin.com/browser/proxy/many/v2 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"proxies": [
{
"profileId": "6200f55e7685342e170dc531",
"proxy": {
"mode": "http",
"id": "6201422450e3b9cd602f24e1",
"host": "127.0.0.1",
"port": 80,
"username": "user",
"password": "password",
"changeIpUrl": "https://some-proxy-provider.com/change-ip",
"customName": "My Proxy"
}
}
]
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List of profiles with their proxies.
Show child attributes
Profile ID to update.
"6200f55e7685342e170dc531"
Proxy parameters that you want to update.
Show child attributes
Proxy mode represent the protocolo of the connection to the proxy.
http, socks4, socks5, possh, geolocation, none, gologin, tor "http"
You can specify particular proxy by its id or leave it empty to use default proxy.
"6201422450e3b9cd602f24e1"
Proxy host. It could be ip address or domain name.
"127.0.0.1"
Proxy port.
80
Proxy username.
"user"
Proxy password if proxy requires authentication.
"password"
This allows you to change IP address of the proxy if your proxy provider supports it.
"https://some-proxy-provider.com/change-ip"
As proxy is separate entity in gologin, you can set custom name for it to identify it in the list of proxies.
"My Proxy"
Was this page helpful?