API reference

completeWhiteLabelGuestVerification

Required permission: Authenticated

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

Arguments

Name Type Description
whiteLabelGuestVerificationId ID!
code String!

Returns

User

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 } }"}'