---
title: "Deletes a Task file"
method: DELETE
path: "/api/2026-07-01/resources/tasks/task_files/{id}"
tags: ["Tasks > TaskFile"]
---

# Deletes a Task file

`DELETE /api/2026-07-01/resources/tasks/task_files/{id}`

Deletes a Task file

## Path parameters

- `id` string, required

## Response `200`

OK

- TasksTaskFile
  - `id` string, required — identifier of the file.
  - `task_id` string, required — identifier of the task.
  - `filename` string, required — name of the file.
  - `content_type` string — content type of the file.
  - `path` string, required — path of the file, for downloading the file you need to concat api_url/path.
  - `created_at` string, required — creation date of the file.

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) · [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/factorialhr/factorial-api/revisions/1a6bffb20f7d/schema)
