---
title: "Cancel Pdf Markup Import"
method: POST
path: "/api/v1/pdf-markup-imports/{import_id}/cancel"
tags: ["pdf-markup-imports"]
---

# Cancel Pdf Markup Import

`POST /api/v1/pdf-markup-imports/{import_id}/cancel`

## Request

- Base URL: `https://api.rudus.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rudus.ai/api/v1/pdf-markup-imports/{import_id}/cancel`
- Auth: none declared
- TypeScript: <https://skmtc.dev/rudus/apis/rudus-api/docs/api/v1/pdf-markup-imports/:import_id/cancel/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `import_id` string, uuid, required

## Response `200`

Successful Response

- PdfMarkupImport
  - `id` string, uuid, required
  - `project_id` string, uuid, nullable
  - `drawing_id` string, uuid, nullable
  - `storage_path` string, required
  - `status` 'uploading' | 'inspecting' | 'ready_for_mapping_review' | 'ready_to_apply' | 'applying' | 'completed' | 'failed' | 'cancelled', required
  - `progress` PdfMarkupImportProgress
    - `source_page_count` integer
    - `target_page_count` integer
    - `source_annotation_counts` integer[]
    - `proposed_mapping` PdfMarkupPagePair[]
      - `source_page` integer, required
      - `target_page` integer, required
    - `page_mapping` PdfMarkupPagePair[]
      - `source_page` integer, required
      - `target_page` integer, required
    - `geometry_warnings` string[]
  - `report` PdfMarkupImportReport
    - `created` integer
    - `updated` integer
    - `replies_created` integer
    - `links_created` integer
    - `attachments_created` integer
    - `skips` object
    - `warnings` string[]
    - `message` string, nullable
  - `error` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `4XX`: Client Error
- `5XX`: Server Error

---

[API](https://skmtc.dev/rudus/apis/rudus-api.md) - [All operations](https://skmtc.dev/rudus/apis/rudus-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rudus/apis/rudus-api/revisions/5673f72c8a5d?raw)
