Manage User
manage_userAdd, remove, enable, disable, or set passwords for local RouterOS users. Idempotent by username to avoid duplicate creation.
Instructions
Add, remove, enable, disable, or set the password for a local RouterOS user. Idempotent by name: add returns already_exists if a user with the same name and group already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routerId | Yes | Target router identifier from the router registry | |
| action | Yes | Action to perform | |
| name | Yes | Username — idempotency key | |
| group | No | Group name (required for add; e.g. 'read', 'write', 'full') | |
| password | No | Password (required for add and set-password) | |
| address | No | Allowed source address or range | |
| comment | No | Optional comment | |
| dryRun | No | Preview changes without applying |