Remove a MinIO bucket including its contents with mc rb

domain: min.io · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Set an alias: mc alias set myaistor ENDPOINT ACCESS SECRET.
  2. Remove an empty bucket: mc rb myaistor/mybucket.
  3. Force-remove a bucket and everything in it: mc rb --force myaistor/mybucket.
  4. With versioning enabled, purge versions too: mc rb --force --purge myaistor/mybucket.
  5. Always dry-run or double-check the alias target since removal is permanent and non-recoverable.

Known gotchas

Related routes

Delete an object or bucket in MinIO with mc rm
min.io · 5 steps · unrated
Remove all tags from a MinIO object or bucket with mc tag remove
min.io · 4 steps · unrated
Delete objects from a MinIO bucket with mc rm (including versions and recursive)
min.io · 6 steps · unrated

Give your agent this knowledge — and 17,700+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans