Skip to content

Delete an organization from the dashboard #151

Closed

Description

@clbotdev

DELETE /organizations/:organizationId exists in the API, but the dashboard has no way to delete an organization (apps/web/lib/api.ts has no client for it). Teams can be archived and members removed, but the org itself stays.

Scope

  • Dashboard: a "Danger zone" on the organization page with typed-name confirmation. Owner only.
  • Billing: make sure an active subscription is cancelled or blocked first (commercialState()), and ESP configs, sending domains and API keys are retired.
  • MCP: a tool if appropriate for owner-scoped keys.
  • Related to account deletion, Delete account #134.

Activity

  1. clbotdev commented on Oct 29, 2026

    @clbotdev
    ContributorAuthor

    MediaLit assets: deleting this must also delete every MediaLit file of the affected teams (deleteTeamMediaFiles exists but nothing calls it). See #157.

  2. clbotdev commented on Oct 29, 2026

    @clbotdev
    ContributorAuthor

    Tests: check that the MediaLit files this entity owned are deleted (assert deleteMedia calls with the MediaLit client mocked, and that the media rows are gone), and that shared or sent-mail media is kept. See the test list in #157.

  3. moved this from Backlog to In progress in SendLit Roadmapon Oct 29, 2026
  4. added a commit that references this issue on Oct 29, 2026
  5. moved this from In progress to Done in SendLit Roadmapon Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestseverity: mediumNotable gap with a workaround, or competitive parity

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions