Network Cameras - Update

Update Network Camera

The following endpoint is used to update a network camera's properties e.g. it's URL or state state.

POST /1/networkCameras/{network_camera_id}
Host: https://api.cogniac.io

The body of the request should contain a dictionary of the form:

{
  "description": "Cogniac Lobby Camera",
  "url": "rtsp://admin:[email protected]:554/stream"
 }
{
  "network_camera_id": "Asj45tQ1",
  "url": "rtsp://admin:[email protected]:554/stream",
  "camera_name": "Camera 1",
  "description": "Cogniac Lobby Camera",
  "active": True,
  "created_at": 1463179215.124683,
  "modified_at": 146318631.124683,
  "tenant_id": "rt06diepwc3i",
  "created_by": "[email protected]"
 }