AdminFull-delete a RTSP camera (admin)

Full-delete a RTSP camera (admin)

Admin-only full delete for a RTSP camera. Archives and deletes R2 events, removes the Durable Object instance, removes SpacetimeDB read-model rows, and best-effort stops the spk-vms stream. Requires dual auth.

curl -X DELETE "https://api.spkey.co/admin/rtsp-cameras/example_string/full?mode=DELETE_DO_AND_EVENTS" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "success": true,
  "cameraId": "example_string",
  "mode": "example_string",
  "operations": [
    "null"
  ],
  "deletionSummary": "example_string",
  "auditLogPath": "example_string",
  "duration": 3.14,
  "errors": [
    "example_string"
  ]
}
DELETE
/admin/rtsp-cameras/{cameraId}/full
DELETE
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.
API Key (header: X-API-Key)
X-API-Keystring
Required

API key for B2B organization access. Provided during organization onboarding.

API key for B2B organization access. Provided during organization onboarding.
query
modestring
Options: DELETE_DO_AND_EVENTS
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

header
X-API-Keystring
Required

API Key for authentication. API key for B2B organization access. Provided during organization onboarding.

Path Parameters

cameraIdstring
Required

RTSP camera UUID

Query Parameters

modestring
Allowed values:DELETE_DO_AND_EVENTS

Responses

successboolean
Required
cameraIdstring
Required
modestring
Required
operationsstring[]
Required
deletionSummarystring
auditLogPathstring
Required
durationnumber
Required
errorsstring[]
Required