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 representstrue
orfalse
.
Examples
Query:
Logout {
Logout
}
Variables:
{ul}
Response:
{
"data": {
"Logout": false
}
}