---
title: "Delete import job"
method: POST
path: "/import/import-delete"
tags: ["Document AI — Import & Migration"]
---

# Delete import job

`POST /import/import-delete`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/import/import-delete`
- Auth: HTTP bearer

Delete an import job record and its temporary staging artifacts. Does not delete documents already committed to the DMS.

## Request body

- object
  - `job_id` integer, required: ID of the import job to delete, including all file entries.

## Response `200`

Success

- object: Import deleted
  - `status` 'success' | 'error': Request status (ok/error)
  - `message` string: Status message
  - `import_id` string: Import id
  - `processing_time` string: Request processing time (e.g. "123.45ms")
  - `data` string: Data
  - `job_id` string: Job id
  - `deleted_files` string: Deleted files
  - `session_id` string: Session id
  - `upload_dir` string: Upload dir
  - `batch_uploaded` string: Batch uploaded
  - `batch_bytes` string: Batch bytes
  - `total_files` string: Total files
  - `total_bytes` string: Total bytes
  - `errors` string: Errors

## Other responses

- `4XX`: Error
- `5XX`: Error

---

[API](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api.md) · [All operations](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/revisions/c6a6228a4509?raw)
