- API Reference
- Box API
- Selling platform
Move the expiry date of sold proxies, by days, hours or to a fixed time
Sets a new expiry on the listed sold proxies, either expired_unix_time or adding expired_extend_days / expired_extend_hours, then restarts them. Answers with the updated rows, which contain credentials and API tokens. Does not reset data counters (use /selling/renew_proxy for that).
/selling/bulk_extend_expiredRequest body application/json · required
Sold-proxy ids (id in /selling/shared_proxies).
New expiry (epoch).
Responses
Updated rows, 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.
Error name, e.g. internal_server_error or bad_request.
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. |