# completeWhiteLabelGuestVerification

> Required permission: Authenticated

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

```graphql
completeWhiteLabelGuestVerification(
  whiteLabelGuestVerificationId: ID!
  code: String!
): User
```

## Arguments

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

## Returns

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

## Example

```graphql
mutation CompleteWhiteLabelGuestVerification($whiteLabelGuestVerificationId: ID!, $code: String!) {
  completeWhiteLabelGuestVerification(whiteLabelGuestVerificationId: $whiteLabelGuestVerificationId, code: $code) {
    id
    termsOfServiceAccepted
    username
    isEphemeral
    isSuperUser
    hasBedrockAccess
  }
}
```

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