Skip to main content

Logout

Logs the user out and makes their authentication token invalid. The results of this mutation can be affected by providing an authToken header to set a user for the operation.

Logout: Boolean!

Directives

authAccess

This requires the current user to be in STUDENT role.

Type

Boolean scalar

The Boolean scalar type represents true or false.

Examples

Run in Postman

Query:

Logout {
Logout
}

Variables:

{ul}

Response:

{
"data": {
"Logout": false
}
}