How can I specify the team name when destroying a pipeline


By mistake, I created the same pipeline twice but in different teams. My user belongs to 2 teams, main and a team specific one. It seems destroy-pipeline does not allow to specify the team name.

Is there any workaround for this?


afaik even if your user is a member of multiple teams you are only logged into one team at a time with fly. So if you log in with fly login it will put you in main but you can specify a team with fly login -n <team name>. These can be different targets. I’m not in a position to test it right now but I think this means when logged into the main team if you do a fly destroy-pipeline it will target the one in that team.