Harthelm Docs

End the current session

Revokes the session in the database and clears the session cookie.

Generated from openapi/harthelm.yaml at v1.5.0
POST
/auth/logout

Authorization

cookie__Host-harthelm_session<token>

Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header Harthelm-CSRF: 1 and a matching Origin.

Response Body

Signed out.

curl -X POST 'https://console.example.com/api/v1/auth/logout'
Empty