📣 this endpoint logs out authenticated user . In this POST request , user is indentified using authentication header📢 Info message : Here URL is contructed likePOST/v1/auth/logout
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Request 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 'http://localhost:8080/v1/auth/logout'
Responses
🟢200Success
application/json
Body
object {0}
Example
{"message":"Email OTP Sent Successfully. Please check your email inbox.","success":true}