---
title: "Delete object"
method: DELETE
path: "/bus/object/{key}"
---

# Delete object

`DELETE /bus/object/{key}`

Deletes an object from the bucket.

## Path parameters

- `key` string, required

## Query parameters

- `bucket` string, required — The name of the bucket.

## Response `200`

Successfully deleted object

## Other responses

- `404` — Object not found

## Changes

- **2024-12-17** `6bb182f7a7d2` — 1 breaking
  - added the pattern `.*` to the `path` request parameter `key`
- **2024-12-17** `d5dec74bd45a` — 1 info
  - endpoint added
- **2024-12-09** `f062c35d8f47` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/bus/object/:key/delete.md)

---

[API](https://skmtc.dev/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.dev/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/revisions/e8ca82ef1fcf/schema)
