Skip to main content

Cancel a migration before document import and remove its staged copy

POST 

/api/v1/paperless-imports/:import_id/cancel

Canceling never changes the browser-selected export. A migration that already began importing documents cannot be canceled; it remains restart-safe instead.

Request​

Responses​

Workflow canceled and staging cleanup requested

Response Headers
    X-Request-Id

    Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.