Delete member from a team issue #214160
Replies: 3 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
Thanks for posting in the GitHub Community, @kitestefan! You are more likely to get a useful response if you are posting your question in the applicable category, the Discussions category is solely related to conversations around the GitHub product Discussions. This question should be in the |
|
Yeah, that delete button does exactly what it says, and it is a nasty trap. On that screen the button deletes the team itself, not the membership. So the team is gone, but the member is still in the org. Next time, do it from the team side instead. Go to the org, open Teams, open the team, go to the Members tab, and remove the person there. That only drops them from the team and leaves the team alone. If you prefer the terminal, this does the same thing. Just swap in your org, the team slug, and the username: gh api -X DELETE orgs/ORG/teams/TEAM/memberships/USERNAME Sorry you had to rebuild the team. That button really should say what it is about to delete. |
Uh oh!
There was an error while loading. Please reload this page.
Discussion Type
Product Feedback
Discussion Content
I have found a bug. If you go to the people pages.
You can see that a member belongs to 2 teams for example
You click on the team column.
You can select a team and click delete.
I as an admin expect that I have deleted the member from that team.
What actually happens is that you delete the whole team. I accidently did this.
It was not 100% obvious, it caused some damage since I needed readd everyone and recreate the team again.
According to me the team should only be able to delete via the settings page via the DANGER ZONE with red borders.
Not via clicking on the user.
I showed this to my teammembers and they all agreed that it was really easy to do wrong.
Thanks for your notice.
All reactions