I'm using the Twilio CLI trying to deploy a flex plugin using
npm run deploy
The issue is that upon invoking this command, it asks me to select an account side
Uploading your Flex plugin to Twilio Assets
Choose one of the following Account Sids:
ACx1
ACx2
The problem is, I have NO idea where these two suggested account sids are coming from. They must be an old profile I created in the past.
How do I clear these completely, so that I dont have it assume I want to select these?
My account sid is not even listed, call it ACx3
So the CLI is somehow assuming that I am only interested in either of the 2 pre-populated Account SIDS. Whereas I have a 3rd non-listed account sid I need to deploy to.
To see which profiles are already set up, you can run
twilio profiles:list
. This should return the ID (shorthand identifier), Account SID, and "Active" status of each profile.Then, you can run
twilio profiles:remove "SHORTHAND IDENTIFIER"
to remove the profile that you'd like to get rid of.To add your new profile, use
twilio profiles:add
or justtwilio login
. Finally, activate your profile by runningtwilio profiles:use "SHORTHAND IDENTIFIER"
. You'll be prompted to specify a shorthand identifier when you create your new project.Some additional Twilio CLI tips which I've found helpful and might be helpful to you as well:
--help
to any command to view them.twilio autocomplete zsh
ortwilio autocomplete bash
will get you set up with autocomplete, which is helpful for exploring the functionality of the CLI.