Revoke current JWT
Invalidates the current session token server-side.
POST/api/v1/auth/logoutWallet JWT
For AI agents
Invalidate the JWT when the session ends. After this call the token cannot be used for any further requests.
Requires: Valid JWT
Generated OpenAPI reference
POST
/api/v1/auth/logoutAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Response Body
application/json
curl -X POST "https://api-staging.synapse-network.ai/api/v1/auth/logout"{
"message": "Logged out"
}