Skip to main content

revokeAllSessions

Requires an authenticated session.

Ends all of the signed-in user's sessions except the current one.

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 RevokeAllSessions {
revokeAllSessions
}

Response:

{
"data": {
"revokeAllSessions": true
}
}
revokeAllSessions: Boolean!

Type​

Boolean scalar​

The Boolean scalar type represents true or false.