You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to delete several buckets with one command, like how several k3s clusters can be removed with one command:
Example:
civo@krew:/civo/cli/dest$ ./civo_linux objectstore ls
+--------+-----------+------+---------------------------+--------+
| ID | Name | Size | Object Store Endpoint | Status |
+--------+-----------+------+---------------------------+--------+
| 54bbdc | bucketone | 500G | objectstore.lon1.civo.com | ready |
| 5391a8 | bucketwo | 500G | objectstore.lon1.civo.com | ready |
+--------+-----------+------+---------------------------+--------+
and then one command:
civo@krew:/civo/cli/dest$ ./civo_linux objectstore delete bucketone buckettwo
Warning: Are you sure you want to delete the bucketone objectStore (y/N) ? y
The objectStore (bucketone) has been deleted
but in this case, only the first one was deleted
civo@krew:/civo/cli/dest$ ./civo_linux objectstore ls
+--------+----------+------+---------------------------+--------+
| ID | Name | Size | Object Store Endpoint | Status |
+--------+----------+------+---------------------------+--------+
| 5391a8 | bucketwo | 500G | objectstore.lon1.civo.com | ready |
+--------+----------+------+---------------------------+--------+
The text was updated successfully, but these errors were encountered:
Hmm. actually this already works.
Helps if I don't make a typo when deleting
civo@krew:/civo/cli/dest$ ./civo_linux objectstore create bucket1
Creating Object Store bucket1 in LON1
civo@krew:/civo/cli/dest$ ./civo_linux objectstore create bucket2
Creating Object Store bucket2 in LON1
To check the status of the Object Store run: civo objectstore show bucket2
civo@krew:/civo/cli/dest$ ./civo_linux objectstore ls
+--------+---------+------+---------------------------+--------+
| ID | Name | Size | Object Store Endpoint | Status |
+--------+---------+------+---------------------------+--------+
| 14e213 | bucket1 | 500G | objectstore.lon1.civo.com | ready |
| e731d6 | bucket2 | 500G | objectstore.lon1.civo.com | ready |
civo@krew:/civo/cli/dest$ ./civo_linux objectstore delete bucket1 bucket2
Warning: Are you sure you want to delete the bucket1, bucket2 objectStores (y/N) ? y
The objectStores (bucket1, bucket2) has been deleted
civo@krew:/civo/cli/dest$
I'd like to be able to delete several buckets with one command, like how several k3s clusters can be removed with one command:
Example:
and then one command:
but in this case, only the first one was deleted
The text was updated successfully, but these errors were encountered: