Skip to main content

mobileRevokeSession

Public: no authentication required.

Sign-out from the buyer app: ends the session of the refresh token sent, so this device no longer counts toward the account's device limit. Always returns true — the app signs out whatever the token's state.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation MobileRevokeSession($input: MobileRevokeSessionInput!) {
mobileRevokeSession(input: $input)
}

Variables:

{
"input": {
"refreshToken": "string"
}
}

Response:

{
"data": {
"mobileRevokeSession": true
}
}
mobileRevokeSession(
input: MobileRevokeSessionInput!
): Boolean!

Arguments​

mobileRevokeSession.input ● MobileRevokeSessionInput! non-null input​

The refresh token this device holds.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.