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.

mutation SetFieldLabelsSample {
  setFieldLabels(
    input: {
      farmUuid: "<placeholder_of_farm_uuid>"
      uuid: "<placeholder_of_field_uuid>"
      labels: [{ name: "name1", value: "value1" }]
    }
  ) {
    uuid
    name
    labels {
      name
      value
    }
  }
}

Last updated

Powered by GeoPard Agriculture - Automated precisionAg platform