Request: No body - auth token onlyDeletes the admin's token. Requires a valid Bearer token in the Authorization header.Success:200 - logged out successfullyErrors:401 - missing or invalid token | 403 - not an admin
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/admin/auth/logout'
Responses
🟢200OK
application/json
Successful Response
Bodyapplication/json
Example
{"success":true,"message":"Logged out successfully"}