- API Reference
- Box API
- Selling platform
Zero the data counters of sold proxies so a customer who hit the quota can use them again
Resets the upload, download and total counters of the listed proxies and writes a manual entry to their quota reset history. Ports on the older counter are stopped and restarted. Echoes the request body. A body without ids makes the box answer HTTP 500.
POST
/selling/reset_data_counterRequest body application/json · required
idsinteger[]required
Sold-proxy ids (id in /selling/shared_proxies).
Responses
Request echoed, or the license refusal.
The caller is not trusted (not loopback, LAN, whitelisted or allowed Tailscale) and sent no valid Basic credentials. The body depends on whether "Basic auth for all API" is on. Routes that also use the panel login can answer a plain-text 401 "Unauthorized Access" instead.
Unhandled error, for example a non-integer position or a missing required parameter.
errorstringoptional
Error name, e.g. internal_server_error or bad_request.
messagestringoptional
Errors returned in msg
| msg | Meaning | What to do |
|---|---|---|
This function is available on Selling Platform license only. Please contact Administrator! | The license does not include the Selling Platform. | Upgrade the license. |