Organizations
Delete organization
Changed onOwner only. Only empty organizations without protected dependencies can be deleted. Selected browser session references are cleared atomically. Organizations containing projects or protected dependencies return 409; contact an administrator or support for safe removal. Browser mutations require a same-origin request; CLI tokens retain their existing authorization. Requires an interactive browser session. Project-scoped CLI tokens receive 403.
delete/api/organizations/{id}
Request
- Base URLhttps://demo.supercheck.dev
- AuthAPI key in cookie better-auth.session_token
Response
Organization deleted
Changes
- info
the endpoint scheme security
sessionCookiewas added to the API
- info
- info
added the non-success response with the status
- info