Hello,
I have joined a new Team in DO and have got a read-write API key from that team account, however when I do a “doctl compute droplet list” I can’t see any of the droplets that have been created.
Doing a --trace on the doctl command show that a 200 code is returned, so not sure what is happening here, could someone please assist?
Thanks
Jerry
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This comment has been deleted
Hey Jerry - Once you’ve confirmed that the currently configured doctl auth token found in line one of ~/.config/doctl/config.yaml is not linked to your team account, you have two options:
~/.config/doctl/config.yaml in a text editor, and replace the access-token at the top with your Team API Token. Now all of your doctl commands will be directed at your Teamdoctl auth init --context my-team-name and then either switch contexts using doctl auth switch or include the team context as an argument in other doctl commands with doctl compute droplet list --context my-team-nameHope that solves your problem!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.