# deleteTill

> Required permission: RestaurantPosWrite

Source: https://docs.gastrogate.io/docs/api/mutations/deleteTill

```graphql
deleteTill(
  restaurantId: ID!
  tillId: ID!
): DeletionStatus
```

## Arguments

| Name | Type | Description |
| --- | --- | --- |
| `restaurantId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md)! |  |
| `tillId` | [`ID`](https://docs.gastrogate.io/docs/api/types/ID.md)! |  |

## Returns

[`DeletionStatus`](https://docs.gastrogate.io/docs/api/types/DeletionStatus.md)

## Example

```graphql
mutation DeleteTill($restaurantId: ID!, $tillId: ID!) {
  deleteTill(restaurantId: $restaurantId, tillId: $tillId)
}
```

```bash
curl https://api.thelocoapp.com/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $LOCO_API_KEY" \
  -d '{"query": "mutation { deleteTill(...) { __typename } }"}'
```
