How to Destroy Spaces
Validated on 3 Feb 2026 • Last edited on 10 Mar 2026
Spaces Object Storage is an S3-compatible service for storing and serving large amounts of data. The built-in Spaces CDN minimizes page load times, improves performance, and reduces bandwidth and infrastructure costs.
Deleting a Spaces bucket permanently and irreversibly removes the bucket and all of its contents. If you delete your last remaining bucket, your Spaces subscription automatically ends and billing stops.
Bucket deletion is processed asynchronously and may take several days, depending on the amount of data. During this time, the bucket name cannot be reused. You are not billed for the bucket while deletion is in progress.
Destroy Your Bucket Using the Control Panel
To destroy a bucket, go to the control panel, on the left menu, click Spaces Object Storage, and then in the Buckets tab, click the bucket you want to destroy.
In the bucket’s overview page, click the Settings tab, and then under the Delete this Spaces Bucket section, on the right, click Delete to open the confirmation window.
In the Delete Spaces Bucket window, enter the name of your bucket to confirm you want to permanently delete it, and then click Delete.
When you confirm destruction, the bucket goes into a pending destruction state. It remains listed under the Buckets tab on the Spaces Object Storage page with an estimated deletion time. The bucket appears greyed out and you cannot view or manage its contents.
The scheduled destruction time is at least two weeks and may be longer depending on the bucket’s size. While the bucket is pending destruction, it does not count toward billing, and its name cannot be reused.
For Spaces Cold Storage buckets, objects deleted before the 30-day minimum storage period, including those removed during bucket destruction, continue to incur proportional charges until the minimum period is met. For more information, see our pricing page.
To cancel the destruction and regain access to your bucket, on the right of the bucket in the pending destruction stage, click Cancel Deletion before the scheduled deletion time.
Destroy Your Bucket Using Automation
You can destroy a bucket using the DigitalOcean API. Buckets deleted through automation are permanently removed and cannot be recovered, so be sure the bucket is no longer needed before proceeding. You cannot destroy your bucket via the CLI.
Destroy Your Bucket via the API
Any buckets destroyed via the API are deleted immediately and cannot be recovered. The bucket must be empty before it can be deleted.
To delete a bucket via the API, send a DELETE request to the bucket endpoint using the S3-compatible API. Ensure your request is properly authenticated and targeted to the correct region endpoint for your bucket.