get-users

Use this interface to list all users with administrative rights.

HTTP Request

GET http://ip/usapi?method=get-users
Parameter Description
method get-users

Response Body

{
  "result": 0,
  "users": [
    {
      "id": "Admin",
      "type": 1
    },
    {
      "id": "Test",
      "type": 2
    }
  ]
}
Item Description
result Returned status.
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.
users Indicates list of users. id indicates user name. type indicates whether the user is an administrator(1) or a general user(2).

results matching ""

    No results matching ""

    results matching ""

      No results matching ""