IPCola
  1. static direct proxy
IPCola
  • User
    • user
      • send email VCode
      • get user info
      • user login
      • user register
      • get captcha
      • user reset password
    • balance
      • get user balance
    • deposit
      • deposit
      • coinbase(deprecated)
      • query deposit record
      • stripe(deprecated)
  • Rotation proxy
    • account
      • create new account
      • delete account
      • query account
      • update account
    • ip whitelist
      • add ip whitelist
      • delete ip whitelist
      • query ip whitelist
      • update ip whitelist
    • api proxy list
      • get proxy list for ip whitelist auth
    • price
      • query pay as you go price
      • query traffic package price
    • traffic package
      • buy traffic package
      • query traffic package
    • distribution
      • query rotation proxy distribution
    • proxy traffic
      • query daily traffic data
  • Static proxy
    • static direct proxy
      • buy static direct proxy
        POST
      • buy traffic
        POST
      • query static direct proxy
        POST
      • offline ip refund static direct proxy
        POST
      • online ip refund static direct proxy
        POST
      • renew
        POST
      • set ip whitelist
        POST
      • replace ip
        POST
    • static indirect proxy
      • buy static indirect proxy
      • buy traffic
      • query static transfer proxy
      • offline ip refund static transfer proxy
      • online ip refund static transfer proxy
      • renew
      • replace ip
    • distribution
      • query static indirect connect proxy distribution
      • query static direct connect proxy distribution
    • price
      • query static direct residential proxy price
      • query static direct datacenter proxy price
      • query static transfer residential proxy price
      • query static transfer datacenter proxy price
  • Common
    • public ip
      • get public ip
    • proxy address
      • query proxy address
  1. static direct proxy

replace ip

POST
/api/static_direct_proxy/replace_ip
static direct proxy

Request

Header Params
Authorization
string 
optional
Default:
Bearer {{AUTH_TOKEN}}
Body Params application/json
id
integer 
required
record id to refund
change_location
boolean 
required
change location or not
country_code
string  | null 
required
new location code
Example
{
  "id": 1,
  "change_location": true,
  "country_code": "US"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.ipcola.com/api/static_direct_proxy/replace_ip' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": 1,
    "change_location":true,
    "country_code":"US"
}'

Responses

🟢200result
application/json
Body
meta_message
string 
required
success or other error msg
meta_status
integer 
required
1 for success, negative for error
old_ip
string 
required
new_ip
string 
required
Example
{
  "meta_message": "string",
  "meta_status": 0,
  "old_ip": "string",
  "new_ip": "string"
}
Modified at 2024-04-28 10:35:35
Previous
set ip whitelist
Next
buy static indirect proxy
Built with