GeoPard Tutorials
Ask or search…
⌃K

44. Mutation: Set Field Labels

Mutation to set "Labels" to the "Field". The mutation works in OVERWRITE mode, which means that each request will replace all existing labels with labels from the request.
1
mutation SetFieldLabelsSample {
2
setFieldLabels(
3
input: {
4
farmUuid: "<placeholder_of_farm_uuid>"
5
uuid: "<placeholder_of_field_uuid>"
6
labels: [{ name: "name1", value: "value1" }]
7
}
8
) {
9
uuid
10
name
11
labels {
12
name
13
value
14
}
15
}
16
}