Invalidate user’s refresh tokens and end the session
/logout endpoint invalidates the user’s refresh tokens and ends their session. This is a security best practice that ensures tokens cannot be used after the user has explicitly logged out.
| Field | Type | Description |
|---|---|---|
message | string | Success message |
timestamp | string | Logout timestamp |