Skip to content

End the current session.

POST
/api/auth/logout
curl --request POST \
--url https://api.tradr.cloud/api/auth/logout

Revokes the session server-side and clears the session cookie. Idempotent: calling it without a session still returns 200, so a client can always reach a signed-out state.

The session is ended.

Media typeapplication/json
object
success
boolean
Examplegenerated
{
"success": true
}