Request
POST /auth/logout
The refresh token to revoke. Technically optional, but omitting it leaves the token active on the server.
Response
Returns
"Logged out." regardless of whether a token was provided.Example
Always include the
refreshToken in the request body. Without it, the server returns a 200 but the token remains valid and could still be used to generate new access tokens until it expires naturally.Error codes
| Status | Meaning |
|---|---|
| 200 | Logout acknowledged — returned even when no token is provided |