deleteGeofence
Mutation
Deletes an existing Geofence.
Response
Returns Geofence
Arguments
| Name | Type | Description |
|---|---|---|
id | ID! | The unique identifier of the geofence to delete. |
Example
mutation deleteGeofence( $id: ID!) { deleteGeofence( id: $id ) { id name labels site { id name timezone position { type coordinates } polygon { type coordinates } devices { id uuid externalId name enabled address frameRate transcoderId lastHeartbeat } pointsOfInterest { id name metadata } geofences { id name labels active } facilities { id name metadata } } pointOfInterest { id site { id name timezone } name position { type coordinates } devices { id uuid externalId name enabled address frameRate transcoderId lastHeartbeat } geofences { id name labels active } metadata } bounds { polygon { type coordinates } height } active }}{ "id": "60950964-f01b-8f61-a0c6-d8e9088a8245"}{ "data": { "deleteGeofence": { "id": "a9cd2c5d-0ca1-8c25-a90a-11ef7a2bdb24", "name": "name-163f", "labels": [ "labels-914c" ], "site": { "id": "f5e73b52-9179-8799-92de-27516934ea4d", "name": "name-ac75", "timezone": "timezone-4f92", "position": { "type": "type-bd8d", "coordinates": [ 538.37 ] }, "polygon": { "type": "type-1b8e", "coordinates": [ [ [ [ 320.82 ] ] ] ] }, "devices": [ { "id": "61d2e4db-361d-8d20-92f2-04f4efd74ac2", "uuid": "c43d07da-1005-849e-88e2-1ac21370e6c3", "externalId": "fb6f96a9-958e-889f-8d8b-56797ec9a35c", "name": "name-c8f9", "enabled": true, "address": "address-b541", "frameRate": 198.29, "transcoderId": "26ca1b82-27b2-8a32-9063-ce85dbc5be74", "lastHeartbeat": "2025-01-01T00:00:00.000Z" } ], "pointsOfInterest": [ { "id": "9bf022b1-0c59-8550-8625-aca917feaaeb", "name": "name-9f71", "metadata": {} } ], "geofences": [ { "id": "a9cd2c5d-0ca1-8c25-a90a-11ef7a2bdb24", "name": "name-163f", "labels": [ "labels-914c" ], "active": false } ], "facilities": [ { "id": "b74f2e17-122f-881f-b24c-01864ff83b5a", "name": "name-d590", "metadata": {} } ] }, "pointOfInterest": { "id": "9bf022b1-0c59-8550-8625-aca917feaaeb", "site": { "id": "f5e73b52-9179-8799-92de-27516934ea4d", "name": "name-ac75", "timezone": "timezone-4f92" }, "name": "name-9f71", "position": { "type": "type-bd8d", "coordinates": [ 538.37 ] }, "devices": [ { "id": "61d2e4db-361d-8d20-92f2-04f4efd74ac2", "uuid": "c43d07da-1005-849e-88e2-1ac21370e6c3", "externalId": "fb6f96a9-958e-889f-8d8b-56797ec9a35c", "name": "name-c8f9", "enabled": true, "address": "address-b541", "frameRate": 198.29, "transcoderId": "26ca1b82-27b2-8a32-9063-ce85dbc5be74", "lastHeartbeat": "2025-01-01T00:00:00.000Z" } ], "geofences": [ { "id": "a9cd2c5d-0ca1-8c25-a90a-11ef7a2bdb24", "name": "name-163f", "labels": [ "labels-914c" ], "active": false } ], "metadata": {} }, "bounds": { "polygon": { "type": "type-6547", "coordinates": [ [ [ 948.78 ] ] ] }, "height": 709.45 }, "active": false } }}