Skip to main content
POST
/
api
/
camera
/
updateDetails
Update camera details
curl --request POST \
  --url https://api2.rhombussystems.com/api/camera/updateDetails \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "camera": {
    "archiveRegion": "us-west-1",
    "deleted": false,
    "description": "Camera monitoring the main entrance",
    "floorNumber": 1,
    "latitude": 37.7749,
    "locationUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "longitude": -122.4194,
    "mummified": false,
    "name": "Front Door Camera",
    "policyUuid": "AAAAAAAAAAAAAAAAAAAAAA",
    "subLocationsHierarchyKey": "AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA.AAAAAAAAAAAAAAAAAAAAAA",
    "uuid": "AAAAAAAAAAAAAAAAAAAAAA"
  }
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request to update camera information (deprecated).

camera
object

Backwards compatible camera update type with optional fields.

Response

200 - application/json

OK

Response indicating the result of updating camera information (deprecated).

error
boolean | null
errorMsg
string | null
warningMsg
string | null