| Argument | Type | Description |
|---|
| server | enum (all) { all:0 } | HotSpot server on which the user can log in. Default: all. |
| name ( mandatory ) | string | User name. For the mac login method, the MAC address of the device. |
| password | string | Password of the user. |
| otp-secret | string | Secret for the time-based one-time passwords of the user. |
| address | ipAddr | IP address that the device of the user gets through the HotSpot address translation. The user can still log in from any address. |
| mac-address | macAddr | MAC address from which the user can log in. 00:00:00:00:00:00 - any MAC address. |
| profile | enum | User profile from /ip/hotspot/user/profile. Default: default. |
| routes | string | Routes that are added while the user is logged in, in the form dst-address gateway metric, for example 192.168.1.0/24 192.168.0.1 1. |
| email | string | E-mail address of the user. Informational. |
| limit-uptime | time | Total time for which the user can be logged in, over all sessions. When it is reached, the user is logged out and cannot log in. 0s - no limit. |
| limit-bytes-in | num | Number of bytes that the user can send, over all sessions. When it is reached, the user is logged out and cannot log in. 0 - no limit. |
| limit-bytes-out | num | Number of bytes that the user can receive, over all sessions. When it is reached, the user is logged out and cannot log in. 0 - no limit. |
| limit-bytes-total | num | Number of bytes that the user can send and receive together, over all sessions. When it is reached, the user is logged out and cannot log in. 0 - no limit. |