Logout
POST/api/v1/auth/logout
End every session of the caller's account, on every device.
Each token minted for the account before this call is refused from now on, this one included, and the engine's login cookie is cleared. A peer that verifies engine tokens by signature alone still accepts one until it expires.
Responses
- 204
- 401
- 403
Successful Response
No valid session: the credentials are missing, invalid or expired, or the account behind them is disabled or blocked
Refused: the session lacks the action this route checks, or its account must replace an issued password first