get-users
Use the interface to list all users with administrative rights.
HTTP Request
GET http://ip/mwapi?method=get-users
Parameter |
Description |
method |
get-users |
Response Body
{
"status": 0,
"users": [
{
"id": "Admin",
"group": "Admin"
},
{
"id": "Test",
"group": "User"
}
]
}
Name |
Description |
status |
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |
users |
Shows the user group arrays. id indicates user name, and group indicates whether the user is an administrator or a general user. |