vultr / vultr-cli

Official command line tool for Vultr services
Apache License 2.0
469 stars 75 forks source link

[BUG] - vpc2 delete -> 404 #424

Closed resmo closed 4 months ago

resmo commented 4 months ago

Describe the bug can not delete a vpc2 via cli, but via web.

To Reproduce Steps to reproduce the behavior:

 $ vultr-cli vpc2 list                                       
ID                                      DATE CREATED                    REGION  DESCRIPTION                                     IP BLOCK        PREFIX LENGTH
fccf1fef-bcea-464f-ac17-a57aab30451b    2024-03-10T15:32:36-04:00       ams     ansible-test-77914932-diode_instance_vpc2_1     192.168.22.0    24
d322d7e0-a771-473b-8dcf-d4a8f82a5385    2024-03-10T15:32:38-04:00       ams     ansible-test-77914932-diode_instance_vpc2_2     192.168.99.0    24
 $ vultr-cli vpc2 delete d322d7e0-a771-473b-8dcf-d4a8f82a5385
Error: error deleting vpc2 : {"error":"Invalid private network ID.","status":404}

Expected behavior vpc2 gets deleted

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

$ vultr-cli version                                         
Vultr-CLI v3.0.1