post
https://apiv4.ordering.co////auth/logout
This api endpoint is used to log out a user and remove the user token created while logging in.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
User Levels:
- Any User level can Logout with this api endpoint.
- To log out, a user is required to be logged in, (
access_tokenneeded).
Notifications tokenFor mobile application, if the push notification is used, it is recommended to send also
notification_tokento stop receiving notifications. View more about notifications token.
Using Ordering SDK
const response = await ordering.users().logout();
