Request
POST /auth/logout
string
The refresh token to revoke. Technically optional, but omitting it leaves the token active on the server.
Response
string
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.