Shinobi
Documentation
Home  /  API  /  Managing API Keys

Managing API Keys

The created key is binded to the user who created it.

http://xxx.xxx.xxx.xxx/[API KEY]/api/[GROUP KEY]/add?data={}
Add an API Key : Sample of Post Data

The contents of details can vary based on version used.

{
   "data": {
      "ip": "[IP ADDRESS]",
      "details": {
         "auth_socket": "1",
         "get_monitors": "1",
         "control_monitors": "1",
         "get_logs": "1",
         "watch_stream": "1",
         "watch_snapshot": "1",
         "watch_videos": "1",
         "delete_videos": "1"
      }
   }
}
http://xxx.xxx.xxx.xxx/[API KEY]/api/[GROUP KEY]/delete?data={}
Delete an API Key : Sample of Post Data
{
   "data": {
      "code": "[API KEY]"
   }
}
http://xxx.xxx.xxx.xxx/[API KEY]/api/[GROUP KEY]/list

ShinobiDocs

All content is property of their respective owners.