User Logout

This api endpoint is used to log out a user and remove the user token created while logging in.

User Levels:

  • Any User level can Logout with this api endpoint.
  • To log out, a user is required to be logged in, (access_token needed).

📘

Notifications token

For mobile application, if the push notification is used, it is recommended to send also notification_token to stop receiving notifications. View more about notifications token.

Using Ordering SDK

const response = await ordering.users().logout();
Language
Click Try It! to start a request and see the response here!