Skip to content

Logout

POST /auth/logout

Revoke the caller’s families, then take the browser’s copy away.

refresh_token=None is unchanged: this endpoint has always ended every family the principal holds, and which families a logout ends is a product decision, not a side effect of adding a cookie. What is new is the second half — a sign-out that revoked the session server-side and left a live cookie in the jar would restore the session on the next reload, which is worse than never having had the cookie.

StatusDescriptionBody
204Successful Response—
Terminal window
curl -X POST https://your-deployment.example.com/auth/logout \
-H "Authorization: Bearer $COBRE_TOKEN"