Learn how to permanently delete your Vultr Object Storage subscription when its no longer needed.
Deleting Vultr Object Storage subscription removes the S3-compatible store from your account and stops further charges. You should only delete the subscription after backing up any important business assets to a different storage. The process is irreversible, and you can't undo it, so you should take great care.
Follow this guide to delete Vultr Object Storage subscription using the Vultr Customer Portal, API, CLI, or Terraform.
Send a GET
request to List Object Storages endpoint and note the Vultr Object Storage subscription ID.
$ curl "https://api.vultr.com/v2/object-storage" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json"
Send a DELETE
request to the Delete Object Storage endpoint and specify a Vultr Object Storage subscription ID.
$ curl "https://api.vultr.com/v2/object-storage/object_storage_id" \
-X DELETE \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Visit the Delete Object Storage endpoint to view additional attributes to add to your request.
List all Vultr Object Storage subscriptions and note the ID. For instance, 6856bb78-e67b-416c-8fc1-2473c66fa016
.
$ vultr-cli object-storage list
Delete a Vultr Object Storage subscription by specifying the ID.
$ vultr-cli object-storage delete object_storage_id
Run vultr-cli object-storage delete --help
to view all options.
Open your Terraform configuration where the Object Storage subscription is defined.
Remove the vultr_object_storage
resource block, or destroy it by target.
resource "vultr_object_storage" "object_storage" {
# ...existing fields (cluster_id, tier_id, label)
}
# To delete, either remove this block from configuration
# or run: terraform destroy -target vultr_object_storage.object_storage
Apply the configuration and observe the following output:
Apply complete! Resources: 0 added, 0 changed, 1 destroyed.
No comments yet.