Skip to content

updateSensor

Mutation

Updates an existing Sensor.

Response

Returns Sensor

Arguments

NameTypeDescription
sensorUpdateSensorInput!

Arguments to update an existing sensor.

Example

mutation updateSensor(
$sensor: UpdateSensorInput!
) {
updateSensor(
sensor: $sensor
) {
id
name
description
type
position {
type
coordinates
crs {
type
properties
}
}
address
metadata
}
}