GraphQL Cookbook
Logging out
6min
You want to log out a logged user in your backend through the Parse GraphQL API.
Using the Parse GraphQL API, you can log out a logged user just by sending the user’s sessionToken through the X-Parse-Session-Token header (as described in the authenticating a user recipe) and calling the logOut mutation. Parse Server will destroy the sessionToken and it will not be accepted for any other future request.
Depending on the version of Parse you choose to run, the GraphQL queries, mutations and results will be slightly different. Please choose the correct example along with the Parse version you are running.


Updated 08 Mar 2024
Did this page help you?