cURL
curl --request PUT \ --url https://api.gologin.com/proxy/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": "6201422450e3b9cd602f24e1", "mode": "http", "host": "127.0.0.1", "port": 80, "username": "user", "password": "password", "changeIpUrl": "https://some-proxy-provider.com/change-ip", "customName": "My Proxy", "notes": "<string>" }'
{ "_id": "<string>", "id": "<string>", "mode": {}, "host": "<string>", "port": 123, "username": "<string>", "password": "<string>", "lastIp": "<string>", "changeIpUrl": "<string>", "profiles": [ "<string>" ], "profilesCount": 123, "customName": "<string>", "status": true, "country": "<string>", "city": "<string>", "checkDate": "2023-11-07T05:31:56Z", "createdAt": "2023-11-07T05:31:56Z", "timezone": "<string>", "languages": "<string>", "connectionType": {}, "notes": "<string>", "isRestoredByOwner": true }
Updates a proxy.
http
socks4
socks5
possh
geolocation
none
gologin
tor
Was this page helpful?