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 |
Indicates the user group arrays. id indicates user name, group indicates whether the user is an administrator or a general user. |