Skip to content

feat: add organization delete command to cli#21940

Merged
rowansmithau merged 2 commits intomainfrom
rowansmithau/feat/cli-org-delete
Feb 5, 2026
Merged

feat: add organization delete command to cli#21940
rowansmithau merged 2 commits intomainfrom
rowansmithau/feat/cli-org-delete

Conversation

@rowansmithau
Copy link
Contributor

@rowansmithau rowansmithau commented Feb 5, 2026

The API endpoints existed for this already, so this PR just adds CLI functionality which uses those API endpoints.

closes #21891

Generated with the help of Mux

@rowansmithau rowansmithau self-assigned this Feb 5, 2026
@rowansmithau rowansmithau added cli Area: CLI enterprise Enterprise-license / premium functionality labels Feb 5, 2026
@rowansmithau rowansmithau marked this pull request as ready for review February 5, 2026 05:40
@coder-tasks
Copy link
Contributor

coder-tasks bot commented Feb 5, 2026

Documentation Check

Updates Needed

  • docs/admin/users/organizations.md - Add section explaining how to delete organizations using the new CLI command. The doc currently covers creating organizations and managing them, but doesn't mention deletion. Should include:
    • When/why you might delete an organization
    • Important prerequisite: All resources must be removed first (workspaces, templates, members, groups, provisioner keys)
    • CLI command usage: coder organizations delete <name>
    • Note that the default organization cannot be deleted
    • Consider adding a callout warning about the deletion being permanent

Automated review via Coder Tasks

@rowansmithau rowansmithau merged commit e3ce3c3 into main Feb 5, 2026
42 checks passed
@rowansmithau rowansmithau deleted the rowansmithau/feat/cli-org-delete branch February 5, 2026 08:35
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cli Area: CLI enterprise Enterprise-license / premium functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cli: Add organization delete command

2 participants