---
title: "Deletes either a single block or an entire dataset from the local node."
method: DELETE
path: "/data/{cid}"
tags: ["Data"]
---

# Deletes either a single block or an entire dataset from the local node.

`DELETE /data/{cid}`

## Path parameters

- `cid` string, required — Content Identifier as specified at https://github.com/multiformats/cid

## Response `204`

Data was successfully deleted.

## Other responses

- `400` — Invalid CID is specified
- `500` — There was an error during deletion

## Changes

- **2025-05-03** `d26659090761` — 1 info
  - endpoint added
- **2023-03-15** `dfe487dfc0e2` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/logos-storage/apis/logos-storage-api/changes/data/:cid/delete.md)

---

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