Skip to main content

logout

Requires an authenticated session.

Signs the user out: clears the sign-in cookies and ends the current session.

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 Logout {
logout
}

Response:

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

Type​

Boolean scalar​

The Boolean scalar type represents true or false.