API reference
completeWhiteLabelGuestVerification
Required permission: Authenticated
completeWhiteLabelGuestVerification(
whiteLabelGuestVerificationId: ID!
code: String!
): UserArguments
| Name | Type | Description |
|---|---|---|
whiteLabelGuestVerificationId |
ID! |
|
code |
String! |
Returns
Example
mutation CompleteWhiteLabelGuestVerification($whiteLabelGuestVerificationId: ID!, $code: String!) {
completeWhiteLabelGuestVerification(whiteLabelGuestVerificationId: $whiteLabelGuestVerificationId, code: $code) {
id
termsOfServiceAccepted
username
isEphemeral
isSuperUser
hasBedrockAccess
}
}curl https://api.thelocoapp.com/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LOCO_API_KEY" \
-d '{"query": "mutation { completeWhiteLabelGuestVerification(...) { __typename } }"}'