Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Stackland
  • What's new
  • Installation
    • All tutorials
    • Installing Stackland on Yandex BareMetal
    • Setting up external access to a pod in a cluster
    • All guides
      • Creating a bucket
      • Creating an AccessKey
      • Deleting a bucket
      • Deleting AccessKey
    • Projects
    • Resource model
  • Access management
  • Pricing policy
  • Diagnostics and troubleshooting
  1. Step-by-step guides
  2. Buckets
  3. Deleting a bucket

Deleting a bucket

Written by
Yandex Cloud
Updated at April 8, 2026

If you have a bucket and it is empty, you can delete it.

Warning

Before deleting the bucket, make sure it does not contain any objects. You cannot delete a bucket with objects in it.

CLI
Management console
  1. Get a list of buckets in the project:

    kubectl get bucket -n <project_name>
    
  2. Make sure the bucket is empty. Delete all objects via the S3 API if you no longer need them.

  3. Delete the bucket resource:

    kubectl delete bucket <bucket_name> -n <project_name>
    
  4. Make sure the bucket was deleted:

    kubectl get bucket -n <project_name>
    
  1. If you have not opened a project yet, select one.
  2. In the left-hand menu, select Object Storage.
  3. Select the bucket.
  4. Click Delete bucket.
  5. Confirm the deletion.

Was the article helpful?

Previous
Creating an AccessKey
Next
Deleting AccessKey
© 2026 Direct Cursus Technology L.L.C.