# acceptTermsOfService

> Required permission: Authenticated

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

```graphql
acceptTermsOfService(
  id: ID!
): AcceptTermsOfServiceResult!
```

## Arguments

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

## Returns

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

## Example

```graphql
mutation AcceptTermsOfService($id: ID!) {
  acceptTermsOfService(id: $id)
}
```

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