The created key is binded to the user who created it.
http://xxx.xxx.xxx.xxx/[API KEY]/api/[GROUP KEY]/add?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={}
{
"data": {
"code": "[API KEY]"
}
}
http://xxx.xxx.xxx.xxx/[API KEY]/api/[GROUP KEY]/list