Delete a camera: Camera.Delete

Deletes cameras by their unique identifiers

Parameters

params: array

Min size: 1

List of UIDs


params[]: Uid aka string

Pattern: ^[a-zA-Z0-9_-]+$

Unique identifier used throughout the system


Result

result: object

Map of camera UIDs to deletion success status


result{}: boolean

No description


POST /api/

JSON
{
  "jsonrpc": "2.0",
  "method": "Camera.Delete",
  "params": [
    "camera_uuid"
  ],
  "id": 123
}
cURL
Bash
curl -k --request POST \
    --url 'https://your-domain/api/' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer <api-authorization-token>' \
    --data '{
  "jsonrpc": "2.0",
  "method": "Camera.Delete",
  "params": [
    "camera_uuid"
  ],
  "id": 123
}'

200 OK

JSON
{
  "jsonrpc": "2.0",
  "result": {
    "camera_uuid": true
  },
  "id": 123
}

400 Bad Request

JSON
{
  "jsonrpc": "2.0",
  "error": {
    "code": -32601,
    "message": "Method not found"
  },
  "id": 123
}

500 Internal Server Error

Server error