User Logout
DELETE
/admin/authDelete the current session for the logged in user. This will only work if you're using Cookie session for authentication. If the API token is still passed in the header, the user is still authorized to perform admin functionalities in other endpoints.
Request
None
Request samples
Responses
OK(200)
Client Error or Multiple Errors(400)
User is not authorized. Must log in first(401)
Not Found Error(404)
Invalid State Error(409)
Invalid Request Error(422)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: a year ago