Deletes the access token from the database. Requires a valid Bearer token in the Authorization header.Success:200 - logged outErrors:401 - missing or invalid token
Request
None
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--request POST '/api/v1/auth/logout'
Responses
🟢200OK
application/json
Successful Response
Bodyapplication/json
Example
{"success":true,"message":"Logged out successfully"}