# Contract Mutation

### Mutation Types

{% hint style="info" %}
Mutations are responsible to insert or update a specific register, the operation insert or update is defined by **everreal`Id`**, in case this contract you could use to delete contract.&#x20;
{% endhint %}

```graphql
type Mutation {
    removeContract(id: String): AsyncEventResponse
}

type AsyncEventResponse {
  statusCode: Int
  message: String
}
```

Here are details on the capabilities of different mutations

* The `removeContract` mutation is used to delete a contract from Everreal system and contract will no longer be available in Everreal. To delete contract, you should pass `everrealUUID` which can be acquired from contracting query by passing the propertyId for which you need to delete the contract.([reference](https://api-docs.everreal.co/endpoints/contract/contract-query) to get contractId)

Below we are providing a full example how to delete

{% tabs %}
{% tab title="GraphQL" %}

```graphql
mutation {
  removeContract(
    id: <everreal_uuid>
  )
}
```

{% endtab %}

{% tab title="Second Tab" %}

{% endtab %}
{% endtabs %}
