Shinobi

Administrator Only

A Sub-Account is an account that has limited privileges to the Administrator's Monitors, Videos, Events, and Logs.

http://xxx.xxx.xxx.xxx/admin/[API KEY]/accounts/[GROUP KEY]/register?data={}
Edit Sub-Account : Sample of Post Data
{
   "data": {
      "mail": "[SUB-ACCOUNT LOGIN ADDRESS]",
      "pass": "[SUB-ACCOUNT PASSWORD]",
      "password_again": "[SUB-ACCOUNT PASSWORD]"
   }
}

With this call you can modify permissions for the specified Sub-Account.

http://xxx.xxx.xxx.xxx/admin/[API KEY]/accounts/[GROUP KEY]/edit?uid=[USER ID]&mail=[LOGIN ADDRESS]&data={}
Edit Sub-Account : Sample of Post Data

The contents of details can vary based on version used.

{
   "uid": "[SUB-ACCOUNT USER ID]",
   "mail": "[SUB-ACCOUNT LOGIN ADDRESS]",
   "data": {
      "details": {
         "sub": "1",
         "allmonitors": "1"
      }
   }
}

With this call you can remove a Sub-Account and their associated API Keys.

http://xxx.xxx.xxx.xxx/admin/[API KEY]/accounts/[GROUP KEY]/delete?uid=[USER ID]&mail=[LOGIN ADDRESS]
Delete Sub-Account : Sample of Post Data
{
   "uid": "[SUB-ACCOUNT USER ID]",
   "mail": "[SUB-ACCOUNT LOGIN ADDRESS]"
}

ShinobiDocs

All content is property of their respective owners.