***

title: delete_chunk
slug: /reference/python/rest/datasphere/delete-chunk
description: Delete a specific chunk from a document.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Delete a specific chunk from a document.

<EndpointSchemaSnippet endpoint="DELETE /api/datasphere/documents/{documentId}/chunks/{chunkId}" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

client.datasphere.documents.delete_chunk("document-id", "chunk-id")
```