API Reference
Dashboard
  1. API Reference
  2. Box API
  3. Rotation settings

Change the rotation method and auto reset/reconnect of USB stick (QMI/serial) modems

Use this to choose how stick modems get a new IP and whether they reset or reconnect automatically. method must be the string "1", "2" or "3". stick_adjust_time is saved only when not empty. stick_auto_reset and stick_auto_reconnect are applied at once. A missing field fails with HTTP 500.

  • Destructive · confirm first
  • Basic auth
  • Panel API · since v20.8.0
  • Hub: needs owner approval
  • setStickRenewMethod
POST/stick_change_renew_method

Request body application/json · required

methodstringrequired
One of 1, 2, 3
stick_adjust_timeinteger | stringrequired

Adjust time in seconds; empty keeps the saved value.

stick_auto_resetbooleanrequired
stick_auto_reconnectbooleanrequired

Responses

Result.

statusbooleanrequired

True when the box accepted the request.

msgstringrequired

Outcome code or message (see the operation's error table).

Errors returned in msg

msgMeaningWhat to do
Please select right methodmethod is not the string 1, 2 or 3.Send the method as a string.
Verified against XProxy v21.3.2 on Nov 17, 2026