# Verify User Email

GraphQL endpoint: `/user`

Verifies a user's email address using the verification code (OTP) that was sent to the email. Once verified, the email address status changes to verified and can be set as primary.

## Query

```graphql
mutation (
  $emailId: ID!
  $code: String!
) {
  verifyUserEmail (
    emailId: $emailId
    code: $code
  ) {
    status
  }
}

```

## Variables

```json
{
  "code": "1",
  "emailId": "00000000-0000-4000-8000-000000000001"
}
```

## Response

```json
{
  "data": {
    "verifyUserEmail": {
      "status": "OK"
    }
  }
}
```
