- API Reference
- Box API
- Selling platform
Let a customer change the operating system the proxy's TCP fingerprint imitates
Sets the TCP OS fingerprint profile of the proxy and restarts the port. Profile ids come from /selling/tcp_os_profiles. Group proxies are refused (in data); other refusals come in message.
GET
/selling/change_tcp_osQuery parameters
tokenstringrequiredsecret
API token of one sold proxy (api_token in /selling/shared_proxies). Give it only to the customer who rents that proxy; anyone with the link can use it.
tcp_osstringrequired
Profile id, 1-8 letters or digits.
Example
win3Authentication
Authenticated only by the sold proxy's API token; the dashboard login and "Basic auth for all API" do not apply.
Responses
Result or refusal.
Unexpected error.
statusbooleanoptional
messagestringoptional
datastringoptional
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. |
API Token invalid | Token unknown or reset (in message). | Ask the seller for the current link; tokens change when reset. |
Token and tcp_os parameters are required | token or tcp_os missing. | Send both. |
Invalid TCP OS profile ID format | tcp_os is not 1-8 letters or digits. | Use an id from /selling/tcp_os_profiles. |
Feature does not allowed for proxy group | The proxy is a group proxy (in data). | Not available for group proxies. |
TCP OS profile not found | No profile with this id. | Use an id from /selling/tcp_os_profiles. |
Failed to update TCP OS | Could not save. | Retry; contact the seller. |
An error occurred while processing the request | Unexpected error (HTTP 500). | Retry; contact the seller. |