Revoke the session and clear cookies
POST
/api/auth/sign-outRequest body
application/jsontokenstringAccess token to revoke; defaults to the cookie value.
callbackURLstringResponses
200
Signed out; Set-Cookie headers clear the session cookies.
successbooleanrequiredAllowed:
truetokenstringAccess token (also delivered via Set-Cookie in cookie mode).
refreshTokenstringRotation token for /api/auth/update-session.
redirectbooleanWhether url should be navigated to.
urlstringValidated landing URL.
userUserShow propertiesHide properties
idstringemailstring<email>namestringimagestringemailVerifiedboolean302
When callbackURL resolves to a redirect
400
Invalid body or an untrusted redirect parameter.
successbooleanrequiredAllowed:
falsereasonstringrequired403
Cross-site request rejected by CSRF validation (Fetch Metadata / Origin). Same-origin and explicitly trusted origins are unaffected.
successbooleanrequiredAllowed:
falsereasonstringrequired