Logs out the currently authenticated user by invalidating their active session or access token. This endpoint should be called when a user explicitly signs out of the application.
Request
Header Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location-g--request POST '{store_url}/api/v1//auth/logout' \
--header'Content-Type: application/json'
Responses
🟢200The user has been successfully logged out and the session/token has been invalidated.