Logs out current session
Logs out current logged in user session
- application/json
Request Body
- token string required
Responses
- 200
- 400
- 401
OK
- Missed json body Response sample:
"error": "Wrong JSON body"
- Required field is not provided. Response sample:
"error": "Wrong JSON body: no value for `param`"
where param
- is a required field that was not provided
- Field was of the wrong type.
- application/json
- Schema
- Example (from schema)
- Wrong Token
- Base
- No value
Schema
- error string
{
"error": true
}
{
"error": "Wrong token"
}
{
"error": "Wrong JSON body"
}
{
"error": "Wrong JSON body: no value for `param`"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...