Rename created list
Updated:
Endpoint:
POSThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/residentsubuser/list/rename
Path parameters:
Name | Value | Description |
|---|---|---|
Authorization |
| Your personal API key |
Request body:
Name | Type | Description |
|---|---|---|
id | Number | ID of the list to be renamed |
title | String | The new name for the list |
package_key | String | The key of the subuser's package where the list of IPs will be renamed. |
Example:
https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/residentsubuser/list/renameResponse:
{
"status": "success",
"data": {
"id": 20483779,
"title": "Andorra renamed",
"login": "b5bb75973e04a569",
"password": "nMqaohvXmSk1CF2t",
"whitelist": "",
"rotation": "-1 = rotation, 0 = rotation per request, 1..3600 time in seconds",
"geo": [
{
"country": "AD",
"region": "Andorra La Vella",
"city": "Andorra La Vella",
"isp": "Andorra Telecom, S.a.u."
}
],
"export": {
"ports": 1000,
"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
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "IP not allowed",
"code": 503,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Tarif not found",
"code": 0,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "not-found",
"code": 404,
"customData": null
}
]
}