# deleteMenuAlternativeGroup

> Required permission: RestaurantMenuWrite

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

```graphql
deleteMenuAlternativeGroup(
  restaurantId: ID!
  menuAlternativeGroupId: ID!
): DeletionStatus
```

## Arguments

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

## Returns

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

## Example

```graphql
mutation DeleteMenuAlternativeGroup($restaurantId: ID!, $menuAlternativeGroupId: ID!) {
  deleteMenuAlternativeGroup(restaurantId: $restaurantId, menuAlternativeGroupId: $menuAlternativeGroupId)
}
```

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