- API Reference
- Box API
- Min API
Set a slot's users and whitelist, then rotate its IP
Intended for reseller panels to rotate a slot. It first replaces the slot's proxy users and IP whitelist with the given values (omitted means empty), then asks for a rotation. In the code at the verified commit the rotation call is missing a required argument, so after the users and whitelist are replaced the box answers HTTP 500 and no rotation happens; use /api/v1/rotate_ip/position/{position} to rotate.
/api/min/get-new-proxyQuery parameters
Slot number.
1Proxy users for the slot as user:password pairs in the box's user-list format. Omitted means none.
user1:YOUR_PROXY_PASSWORDClient IPs allowed without a password, comma separated. Omitted means none.
198.51.100.7Authentication
Always needs a trusted caller (loopback, LAN unless "force auth for local" is on, whitelisted IP, allowed Tailscale) or valid dashboard Basic credentials, which are checked only when dashboard authentication is enabled. "Basic auth for all API" does not change this route.
Responses
Rotation result (as designed; see the description).
0, 1position missing or not an integer, or no such slot.
Missing arguments, Not found positionCaller not trusted and no valid credentials.
Unhandled error, for example a non-integer position or a missing required parameter.
Error name, e.g. internal_server_error or bad_request.