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
STUDENTrole.
Type
Boolean scalar
The
Booleanscalar type representstrueorfalse.
Examples
Query:
Logout {
Logout
}
Variables:
{ul}
Response:
{
"data": {
"Logout": false
}
}