Actions67
- Interface Actions
- Firewall Address List Actions
- IP Pool Actions
- ARP Actions
- DHCP Server Actions
- IP Address Actions
- Hotspot Actions
- Queue Simple Actions
- Wireless Actions
- System Actions
- System Clock Actions
- System Identity Actions
- System Script Actions
- System Scheduler Actions
- IP Service Actions
- Netwatch Actions
- Log Actions
- Custom Command Actions
Hotspot → Reset Counters
AI-generatedSummary
Reset counters of a specified Hotspot user on a MikroTik router to clear their usage statistics.
Inputs
- Category (required) — Select 'users' as the category to enable the Reset Counters operation for Hotspot users.
- Target ID / Name (required) — Specify the ID or name of the Hotspot user whose counters you want to reset.
- Options — Optional control parameters including connection attempts, connection delay between attempts, whether to clean response keys by replacing '-' and '/' with '_', and a custom tag for the command.
Output shape
a single record containing a JSON object with the resource ('hotspot'), operation ('resetCounters'), count (usually 1), and data from the router response indicating the result of the reset operation.
The operation resets counters only for Hotspot users (category must be 'users'). The 'Target ID' is mandatory to identify the specific user. Command retries and response key cleaning behavior are controllable via optional parameters. Errors are handled according to the node's continueOnFail setting.
Examples
Example 1: Reset counters for a Hotspot user
Set Resource to 'Hotspot', Category to 'users', Operation to 'Reset Counters', and provide the Target ID or name of the user.