Skip to main content
PUT
/
api
/
proxy_accounts
/
reset-quota
Bulk Reset quota
curl --request PUT \
  --url https://anyip.io/api/proxy_accounts/reset-quota \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '
[
  {
    "id": "<string>"
  }
]
'
[
  {
    "description": "<string>",
    "enabled_by_admin": true,
    "status": "ACCOUNT_BLOCKED",
    "is_active": true,
    "enabled": true,
    "id": "<string>",
    "ip_whitelist": {
      "ips": [
        "<string>"
      ],
      "ports": [
        {
          "port": 10001499,
          "type": "residential",
          "country": "<string>",
          "city": "<string>",
          "session": "<string>",
          "sess_time": 30,
          "sess_replace": true,
          "sess_ip_collision": "strict"
        }
      ],
      "is_enabled": true
    },
    "plain_password": "<string>",
    "quota": 123,
    "username": "<string>",
    "hash": "<string>",
    "quota_str": "<string>",
    "bytes_recv": 123,
    "bytes_sent": 123,
    "consumption": 123,
    "consumption_str": "<string>"
  }
]

Authorizations

api-key
string
header
required

Value for the api-key header parameter.

Body

application/json
Minimum array length: 1
id
string
required

Proxy account id

Response

Quotas reset successfully

description
string | null
Maximum string length: 256
enabled_by_admin
boolean
default:true
Example:

true

status
string
default:ACCOUNT_BLOCKED
Example:

"ACCOUNT_BLOCKED"

is_active
boolean
enabled
boolean
default:true
Example:

true

id
string
ip_whitelist
object
plain_password
string | null
Minimum string length: 6
quota
integer
username
string
Minimum string length: 6
hash
string
quota_str
string
bytes_recv
integer
bytes_sent
integer
consumption
integer
consumption_str
string