---
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.

## Changes

- **2022-07-05** `bbeda4146aed` — 1 info
  - endpoint added
- **2022-06-30** `9461284c962f` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/moov-io/apis/achgateway-api/changes/shards/:shardKey/files/:fileID/delete.md)

---

[API](https://skmtc.dev/moov-io/apis/achgateway-api.md) · [All operations](https://skmtc.dev/moov-io/apis/achgateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/moov-io/achgateway-api/revisions/25218385da8c/schema)
