---
title: "DELETE /b/{bucket}/o/{object}"
method: DELETE
path: "/b/{bucket}/o/{object}"
tags: ["objects"]
---

# DELETE /b/{bucket}/o/{object}

`DELETE /b/{bucket}/o/{object}`

Deletes an object and its metadata. Deletions are permanent if versioning is not enabled for the bucket, or if the generation parameter is used.

## Path parameters

- `bucket` string, required
- `object` string, required

## Query parameters

- `generation` string
- `ifGenerationMatch` string
- `ifGenerationNotMatch` string
- `ifMetagenerationMatch` string
- `ifMetagenerationNotMatch` string
- `userProject` string

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/storage.md) · [All operations](https://skmtc.dev/google/apis/storage/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/storage/revisions/4623cd2c71cf/schema)
