Account
Logout
to logout the user and to clear all authorization tokens
Header Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/account/logout" \ -H "Authorization: Bearer <api Key>:<access token>"{
"s": "ok",
"d": {
"msg": "Logged out successfully"
}
}{
"s": "error",
"msg": "Input validation failed. Kindly check your input contains required fields for the request"
}{
"s": "error",
"msg": "Unauthorized"
}{
"s": "error",
"msg": "Too many requests"
}{
"s": "error",
"msg": "Internal server error"
}