v1

latestOpenAPI 3.0.02026-08-042710098.2 KB
cameras

Update cameras

Update one or more cameras.

Update configuration, credentials, feature flags, and group assignments for one or more cameras. Each camera is updated independently - if one camera's update fails, others can still succeed. Within each camera's update, all changes are atomic.

Group Assignment:

  • Provide group_ids to assign the camera to specific groups
  • An empty list [] resets the camera to the default group
  • Omit group_ids (null) to leave group assignments unchanged
patch/v1/cameras

Request body

mac_addressstring required

Camera MAC address

namestring

New display name (max 30 characters)

enforced_rtsp_urlstring

Custom RTSP URL to override auto-discovery. Provide the path component beginning with '/' (e.g. '/Streaming/Channels/101'); it is combined with the camera's IP, port and credentials at connection time. A full 'rtsp://host:port/path' URL is also accepted and reduced to its path.

group_idsinteger[]

List of group IDs to assign (empty list resets to default group)

Response

Successful Response

status'success'