---
title: "deleteErpImport"
method: DELETE
path: "/v2/erp/imports/{importId}"
tags: ["erp-imports"]
---

# deleteErpImport

`DELETE /v2/erp/imports/{importId}`

Remove an import and the file it owns. Allowed from any status: an import whose run is still in flight is stopped by the deletion, and rows it already wrote stay written.

## Path parameters

- `importId` string, required

## Response `204`

The import and its file were removed

## Other responses

- `403` — Forbidden - insufficient permissions
- `404` — Resource not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/epilot/apis/integration-toolkit-api.md) · [All operations](https://skmtc.net/epilot/apis/integration-toolkit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/integration-toolkit-api/revisions/cf02c9310c0f/schema)
