security-cameras.camera.delete
writesconfirm
Delete a camera by id. Tenant-scoped.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | literal | yes | One of: true |
security-cameras.camera.upsert
writesconfirm
Create or update a camera behind a connection. `streamId` is the go2rtc source name. Pass `id` to update, omit to insert.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | no | |
connectionId | string | yes | |
streamId | string | yes | |
name | string | yes | |
location | string | no | |
sortOrder | integer | no | Default: 0 |
active | boolean | no | Default: true |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
security-cameras.connection.delete
writesconfirm
Delete a go2rtc connection by id. Tenant-scoped. Cascade-deletes the cameras behind it.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | literal | yes | One of: true |
security-cameras.connection.upsert
writesconfirm
Create or update a go2rtc connection (the property's camera gateway). Pass `id` to update, omit to insert. `credentials` (optional username/password/token) is stored encrypted.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | no | |
label | string | yes | |
baseUrl | string | yes | |
credentials | object | no | Default: {} |
credentials.username | string | no | |
credentials.password | string | no | |
credentials.token | string | no | |
active | boolean | no | Default: true |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
security-cameras.list
read-only
List security cameras for this tenant (id, name, location, active). Credentials and stream ids are NOT returned — view/edit via the operator settings UI.
Input parameters
Returns object.
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
cameras | array of object | yes | |
cameras.id | string | yes | |
cameras.name | string | yes | |
cameras.location | string · nullable | yes | |
cameras.active | boolean | yes | |
cameras.connectionId | string | yes |