Log out
Clears session cookie.
POST
/api/auth/sign-outbetter-auth.session_token<token>
Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.
In: cookie
curl -X POST "https://your-instance/api/auth/sign-out"{
"success": true
}{
"type": "https://docs.appstrate.dev/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid or missing session",
"code": "unauthorized",
"request_id": "req_abc123"
}{
"code": "string",
"message": "string"
}