---
title: "Delete content for the navigation property children in drives"
method: DELETE
path: "/drives/{driveId}/root:{pathToItem}:/content"
tags: ["drives.driveItem"]
---

# Delete content for the navigation property children in drives

`DELETE /drives/{driveId}/root:{pathToItem}:/content`

The content stream, if the item represents a file.

## Path parameters

- `driveId` string, required
- `pathToItem` string, required

## Headers

- `If-Match` string

## Response `2XX`

Success

## Other responses

- `default` — error

---

[API](https://skmtc.net/ballerina-platform/apis/files.md) · [All operations](https://skmtc.net/ballerina-platform/apis/files/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ballerina-platform/files/versions/c34150e97737/schema)
