Skip to content

updateZone

Mutation

Updates an existing Zone.

Response

Returns Zone

Arguments

NameTypeDescription
zoneUpdateZoneInput!

Arguments to update an existing zone.

Example

mutation updateZone(
$zone: UpdateZoneInput!
) {
updateZone(
zone: $zone
) {
id
dataSource {
id
name
type
device {
id
uuid
externalId
name
enabled
address
frameRate
transcoderId
lastHeartbeat
}
zones {
id
name
active
createdAt
updatedAt
}
labels
}
name
polygon {
type
coordinates
crs {
type
properties
}
}
active
createdAt
updatedAt
}
}