---
title: "Delete all objects in R2 bucket"
method: DELETE
path: "/admin/r2/objects"
tags: ["admin"]
---

# Delete all objects in R2 bucket

`DELETE /admin/r2/objects`

## Request

- Base URL: `https://api.confbuilder.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.confbuilder.com/admin/r2/objects`
- Auth: none declared

ADMIN: Delete all objects in the configured R2 bucket.

This operation is irreversible. Only users passing `_ensure_admin` may call it.
Objects are deleted in batches using the S3-compatible API exposed by R2.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/confbuilder/apis/confbuilder-api.md) · [All operations](https://skmtc.dev/confbuilder/apis/confbuilder-api/llms.txt) · [OpenAPI document](https://skmtc.dev/confbuilder/apis/confbuilder-api/revisions/9e576d664e16?raw)
