# 20. Mutation: Delete "Farm"

Delete the selected "Farm" and all the data related to it.

{% hint style="info" %}
If the "Farm" was shared by another user, then the operation will delete only the link. All origin "Farm" data will be safe.
{% endhint %}

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

```graphql
mutation DeleteFarm {
  deleteFarm(input: {
    uuid: "<placeholder_of_farm_uuid>"
  }) {
    uuid
    name
    farmOwnership
  }
}
```

{% endcode %}
