---
title: "DELETE /pools/{poolId}/nodes/{nodeId}/files/{fileName}"
method: DELETE
path: "/pools/{poolId}/nodes/{nodeId}/files/{fileName}"
tags: ["Files"]
---

# DELETE /pools/{poolId}/nodes/{nodeId}/files/{fileName}

`DELETE /pools/{poolId}/nodes/{nodeId}/files/{fileName}`

Deletes the specified task file from the compute node.

## Path parameters

- `poolId` string, required
- `nodeId` string, required
- `fileName` string, required

## Query parameters

- `recursive` boolean
- `timeout` integer
- `api-version` string, required

## Headers

- `client-request-id` string
- `return-client-request-id` boolean
- `ocp-date` string, date-time-rfc1123

## Response `200`

OK

## Other responses

- `default` — The error from the Batch service.

---

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