Organizations
Leave the current organization
Changed onLeave the active organization as a non-owner using an interactive browser session and a same-origin request. Removes the caller's membership and project assignments, clears this organization's selected context from all their sessions, and records member_left in the audit log. Owners must transfer ownership or delete the organization. Project-scoped CLI tokens receive 403. The supplied organization ID must match the active organization resolved from the session; stale confirmations receive 409.
post/api/organizations/leave
Request
- Base URLhttps://demo.supercheck.dev
- AuthAPI key in cookie better-auth.session_token
Request body
Response
Organization left; reload to select a remaining membership or complete personal setup.
Changes
- info
endpoint added
- info