Logout
POST /auth/logoutRevoke 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.
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
204 | Successful Response | — |
Example
Section titled “Example”curl -X POST https://your-deployment.example.com/auth/logout \ -H "Authorization: Bearer $COBRE_TOKEN"