# 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.

{% code overflow="wrap" lineNumbers="true" %}

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

{% endcode %}
