Auth
Diese Seite ist nicht auf Deutsch verfügbar. Die englische Version wird angezeigt.
Log out
Ends the presented session: the same access token answers 401 afterwards. Personal API tokens are not affected. Session: the `b2t_access` cookie + `X-B2T-CSRF: 1`; the answer clears both session cookies (`Max-Age=0`).
Authorization
CookieSessionObject b2t_access<token>
Session JWT in the HttpOnly cookie b2t_access, set by the login endpoints. Mutations also send the header X-B2T-CSRF: 1 (otherwise 403).
In: cookie
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/auth/logout"{ "message": "Logged out"}{ "message": { "error": "Your request was made with invalid credentials." }}{ "message": { "error": "Oops! Something went wrong! Write to administrator. Your Request Id {f1177aee-9a99-42f0-a23f-4dd29fc39b65-672e0df972ccb}" }}