MikroTik RouterOS icon

MikroTik RouterOS

Complete MikroTik RouterOS automation - PPPoE, Hotspot, Queue, Interface, and Router management

PPPoE → Force Reconnect

AI-generated

Summary

Force a PPPoE user to reconnect on a specified MikroTik router through middleware API interaction.

Inputs

  • Router Name (required) — The router name as configured in the middleware to identify which router to target.
  • Username (required) — The PPP/Hotspot username of the user to force reconnect.
  • Timeout — Optional request timeout in seconds (default 30).

Output shape

a single JSON object indicating success status, a message, and any returned data from the middleware API.

Returns a JSON object containing 'success' (boolean), 'message' (string), and 'data' (the raw response from the middleware). Errors are handled according to the node's continueOnFail setting and returned as JSON error messages.

Examples

Example 1: Force reconnect a PPPoE user named 'customer123' on router 'main-router'.

Set 'Router Name' to 'main-router', 'Username' to 'customer123', optionally adjust 'Timeout'.

Links

Discussion