---
title: "DELETE /files/{fileId}"
method: DELETE
path: "/files/{fileId}"
tags: ["files"]
---

# DELETE /files/{fileId}

`DELETE /files/{fileId}`

Permanently deletes a file owned by the user without moving it to the trash. For more information, see [Trash or delete files and folders](https://developers.google.com/workspace/drive/api/guides/delete). If the file belongs to a shared drive, the user must be an `organizer` on the parent folder. If the target is a folder, all descendants owned by the user are also deleted.

## Path parameters

- `fileId` string, required

## Query parameters

- `enforceSingleParent` boolean
- `supportsAllDrives` boolean
- `supportsTeamDrives` boolean

## Response `200`

Successful response

---

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