---
title: "Delete a Bulk Import File Source"
method: DELETE
path: "/v1/web/bulk-import-file-source/{id}"
tags: ["Bulk Import File Source"]
---

# Delete a Bulk Import File Source

`DELETE /v1/web/bulk-import-file-source/{id}`

Cannot be deleted while `processing`.

## Path parameters

- `id` string, required

## Response `200`

Default Response

- object
  - `id` string, required
  - `status` union, required
    - 'uploading'
    - 'uploaded'
    - 'processing'
    - 'processed'
    - 'failed'
    - 'deleted'
  - `filename` string, required
  - `structure` union, required
    - object
      - `type` 'billLineItemTable', required
      - `fields` object, required
        - `invoiceId` string, nullable
        - `currencyCode` string, nullable
        - `invoiceDate` string, nullable
        - `paymentDueDate` string, nullable
        - `totalAmount` string, nullable
        - `externalId` string, nullable
        - `vendorId` string, nullable
        - `vendorName` string, nullable
        - `description` string, nullable
        - `lineItem.description` string, nullable
        - `lineItem.amount` string, nullable
      - `fileHeaders` string[], required — Column headers detected in the uploaded file
    - object
      - `type` 'vendorTable', required
      - `fields` object, required
        - `name` string, nullable
        - `externalId` string, nullable
        - `currencyCode` string, nullable
        - `country` string, nullable
        - `contact.name.firstName` string, nullable
        - `contact.name.middleName` string, nullable
        - `contact.name.lastName` string, nullable
        - `contact.email` string, nullable
        - `contact.phone` string, nullable
      - `fileHeaders` string[], required — Column headers detected in the uploaded file
  - `errors` object[], required
    - `code` 'invalidFile', required
    - `message` string
  - `creatorUserId` string, required
  - `bulkImportId` string
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `processedAt` string, date-time

## Other responses

- `400` — Default Response
- `401` — The access to this resource has been denied
- `403` — The access to this resource is forbidden
- `404` — The resource was not found
- `default` — Catch-all error response for any unexpected internal errors

---

[API](https://skmtc.net/funneldash/apis/surface-web-api.md) · [All operations](https://skmtc.net/funneldash/apis/surface-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/funneldash/surface-web-api/revisions/ac700d65f443/schema)
