---
title: "Deletes the task file with the specified id."
method: DELETE
path: "/tasks/{taskId}/files/{fileId}"
tags: ["taskFiles"]
---

# Deletes the task file with the specified id.

`DELETE /tasks/{taskId}/files/{fileId}`

Deletes the metadata and the different versions of the file.

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Path parameters

- `taskId` string, uuid, required
- `fileId` string, uuid, required

## Headers

- `Authorization` string, required

## Response `204`

No Content

- object

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
