Manage PPPoE Client
manage_pppoe_clientAdd, update, or remove a PPPoE client interface on MikroTik RouterOS. Idempotent by name with conflict detection and password handling.
Instructions
Add, update, or remove a PPPoE client interface. Idempotent by name (already_exists on matching name+interface+user; CONFLICT on differing config; no_change when an update differs in nothing). Password is always written when provided since RouterOS does not return it on GET.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | No | Router ID; omit to use the default router. | |
| action | Yes | Action to perform | |
| name | Yes | PPPoE client interface name — idempotency key (e.g. pppoe-wan) | |
| interface | No | Parent interface (required for add) | |
| user | No | PPPoE username (required for add) | |
| password | No | PPPoE password (never logged) | |
| serviceName | No | PPPoE service name filter (leave empty to match any) | |
| addDefaultRoute | No | Add default route via PPPoE (yes/no) | |
| dialOnDemand | No | Dial on demand instead of always-on (yes/no) | |
| dryRun | No | Preview changes without applying. | |
| confirmationToken | No | Token from a prior APPROVAL_REQUIRED response. Re-submit the identical call with this token to confirm the destructive action. |