API reference / Partner auth
post
/v2/auth/logoutSign out
- Operation
logout- Authentication
- None — public
Revokes the session server-side rather than only clearing the cookie, so a copied cookie stops working. Idempotent.
Request
Responses
204Signed out. Also returned when not signed in, because it is idempotent.
429Rate limit exceeded. Retry after `retry-after` seconds.
errorobjectrequiredExample
curl -X POST https://api.haavisa.com/v2/auth/logoutMore in Partner auth
Something unclear? The eligibility guide explains the model behind the answers; the errors guide covers the envelope.