DOCTL: LB remove-droplets: Error: DELETE ... need to provide either a tag or a list of droplets
I am trying to remove one droplet with id 222 from Loadbalancer with lb_id=88-33-ff via doctl command as follow:
doctl compute load-balancer remove-droplets 88-33-ff --droplet-ids 222
but i got the following error:
Error: DELETE https://api.digitalocean.com/v2/load_balancers/xxx-xx-xx-xx-xxx/droplets: 422 (request "xxx-xx-xxx-xxx-xxxx") need to provide either a tag or a list of droplets
is my command correct or i am missing something?
can anyone please help me and give a tip?
Note: here lb-id and droplet-id are fake, but the real one exist.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×