---
title: "DELETE /shards/{shardKey}/files/{fileID}"
method: DELETE
path: "/shards/{shardKey}/files/{fileID}"
tags: ["Files"]
---

# DELETE /shards/{shardKey}/files/{fileID}

`DELETE /shards/{shardKey}/files/{fileID}`

Cancel a pending ACH file

## Path parameters

- `shardKey` string, required
- `fileID` string, required

## Response `200`

File accepted successfully without errors.

## Other responses

- `500` — Error canceling the file. Check logs for publishing errors.

---

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