API reference
disconnectWhiteLabelGuest
Note that you can pass in the white label 'label' instead of 'id' to this mutation, in order to facilitate old clients. Required permission: Authenticated
disconnectWhiteLabelGuest(
whiteLabelId: ID!
): UserArguments
| Name | Type | Description |
|---|---|---|
whiteLabelId |
ID! |
Returns
Example
mutation DisconnectWhiteLabelGuest($whiteLabelId: ID!) {
disconnectWhiteLabelGuest(whiteLabelId: $whiteLabelId) {
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 { disconnectWhiteLabelGuest(...) { __typename } }"}'