Prerequisites
- Valid JWT token obtained from wallet login
- Active authenticated session
Request
Response
Response Fields
The logout endpoint returns a204 No Content status code on successful logout with no response body.
Error Responses
| Status Code | Description |
|---|---|
| 401 | Unauthorized - invalid or missing JWT token |
| 500 | Internal server error |
Usage Notes
- After successful logout, the JWT token becomes invalid and cannot be used for future requests
- The client should clear the stored token after receiving a successful logout response
- A new login is required to obtain a fresh JWT token
- Logout is idempotent - calling it multiple times with the same token will not cause errors