Get Managers
GetManagers¶
Description: Returns a list of all registered manager accounts on the server along with their permissions and access configuration.
Access Control¶
🛡️ Access Level Required:
SESSION_ADMINorSESSION_MANAGER
Request Parameters¶
None required.
Response Parameters¶
| Field | Type | Description |
|---|---|---|
| id | int | Unique identifier for the manager |
| admin | int | 1 if full admin rights, 0 otherwise |
| groups | string | Group access scope (e.g. "*" or group names) |
| name | string | Manager's full name |
| string | Manager's email address | |
| otp_secret | string | OTP secret 2fa |
| see_accounts | int | 1 to allow viewing accounts |
| see_accounts_detail | int | 1 to allow viewing detailed account info |
| see_accounts_online | int | 1 to allow seeing online accounts |
| del_accounts | int | 1 to allow deleting accounts |
| set_accounts | int | 1 to allow creating/updating accounts |
| set_accounts_balance | int | 1 to allow modifying account balances |
| see_accounts_balance | int | 1 to allow viewing balances |
| del_accounts_balance | int | 1 to allow deleting balance operations |
| see_trades | int | 1 to allow viewing trades |
| set_trades | int | 1 to allow modifying trades |
| del_trades | int | 1 to allow deleting trades |
| dealer_trades | int | 1 to allow accepting/rejecting dealer trades |
| logs | int | 1 to allow viewing system logs |
| reports | int | 1 to allow generating/viewing reports |
| market_watch | int | 1 to allow access to market watch |
| techsupport | int | 1 to allow performing technical support actions |
| see_export | int | 1 to allow exporting data |
| sort_index | int | Manager's sorting index |
Response Example¶
{
"rows": [
{
"id": 1,
"admin": 1,
"groups": "*",
"name": "Alice Smith",
"email": "[email protected]",
"otp_secret": "",
"see_accounts": 1,
"set_accounts": 1,
"set_accounts_balance": 1,
"dealer_trades": 1,
"logs": 1,
"reports": 1,
"market_watch": 1,
"techsupport": 0,
"see_export": 1,
"sort_index": 0
}
],
"count": 1
}