End every access grant of the caller
End every CLI session and MCP client grant of the caller, as revoke does for one. Idempotent: an account with none returns { revoked_count: 0 }. Browser session only.
POST
/api/auth/access-grants/revoke-allAuthorization
cookieAuth better-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/access-grants/revoke-all"{
"revoked_count": 0
}{
"error": "string",
"error_description": "string"
}