PUT
/
proxy
/
{id}
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

id of the proxy.

Body

application/json

Response

200 - application/json

The response is of type object.