Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org: implement a force delete #59

Open
gaelL opened this issue Nov 9, 2020 · 4 comments
Open

org: implement a force delete #59

gaelL opened this issue Nov 9, 2020 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@gaelL
Copy link
Member

gaelL commented Nov 9, 2020

Currently when you delete an org, the org have to be empty (no project created)

Maybe we could provide a --force-delete flag in the cli to also delete project inside the org

@tormath1
Copy link
Contributor

@gaelL should not be done on the API side ?

@tormath1 tormath1 added the question Further information is requested label Nov 23, 2020
@xescugc
Copy link
Member

xescugc commented Nov 23, 2020

We have thought several times about this, having this ?force=true on the API but I think it's "not" a good behavior for an API. We have the restriction because deleting Projects is "sensible" so it's better to be handled for the user for example.

Would make sense for the CLI to follow the same behavior, maybe with a helper (displaying the current Projects) or something but that's up to you :).

@tormath1
Copy link
Contributor

thanks @xescugc for the update on this point. :)

in this case, we could have something like:

$ cy org delete --org my-org
org is not empty, please delete your projects or use --force
$ cy org delete --org my-org --force
org and X projects, are going to be deleted. Proceed ? [Y/n]

@fhacloid
Copy link
Contributor

Is this feature still relevant @xescugc @gaelL @talset ?

@fhacloid fhacloid self-assigned this Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants