Logs the current user out
POST/api/v2/login/logout
Logs the current user out
Request
Responses
- 200
- 400
- 401
- 403
- 500
Logged out
- application/json
- Schema
- Example (from schema)
Schema
expiresint64
refresh-tokenstring
tokenstring
{
"expires": 0,
"refresh-token": "string",
"token": "string"
}
Validation error of supplied parameters/body
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
codeint32required
fieldErrors
undefined[]
required
errCodestringrequired
fieldstringrequired
messagestringrequired
messagestringrequired
{
"code": 0,
"fieldErrors": [
{
"errCode": "string",
"field": "string",
"message": "string"
}
],
"message": "string"
}
If not authenticated
If authenticated but not authorized
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
codeint32required
detailstringrequired
messagestringrequired
uristringrequired
verbstringrequired
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}