Change rotation
This request explains how to change the rotation of a created list in a subuser's package.
Endpoint:
POST https://proxy-seller.com/personal/api/v1/{YourApiKey}/residentsubuser/list/rotation
Example:
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/residentsubuser/list/rotationResponse:
{
"status": "success",
"data": {
"id": 561,
"title": "US Washington Garfield FIRST-STEP",
"login": "3c8aa1d4",
"password": "AZT62Dx3",
"whitelist": "127.0.0.1,192.168.0.1",
"rotation": "-1 = rotation, 0 = rotation per request, 1..3600 time in seconds",
"geo": {
"country": "US",
"region": "Washington",
"city": "Garfield",
"isp": "FIRST-STEP"
},
"export": {
"ports": 10000,
"ext": "txt"
}
},
"errors": []
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Error api key",
"code": 503,
"customData": null
},
{
"message": "IP not allowed",
"code": 503,
"customData": null
},
{
"message": "Request limit reached",
"code": 503,
"customData": null
}
]
}Same response in case with wrong rotation!
{
"status": "error",
"data": null,
"errors": [
{
"message": "not-found",
"code": 404,
"customData": null
},
{
"message": "not-found (404)",
"code": 0,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Tarif not found",
"code": 0,
"customData": null
}
]
}Path parametrs:
Name
Value
Description
Authorization
<Your_API_Key>
Your personal API key
Request body:
Name
Type
Description
id
Number
Id of created list
rotation
Number
The new rotation value whitch you want to set , "-1" - without rotation (Sticky), "0" - rotation per request, "1"-"3600" - rotation by time in seconds
package_key
String
Key of a subuser's package where you want to change rotation
Last updated