---
title: "Cancel document verification"
method: POST
path: "/v1/document/cancel"
tags: ["File Commands"]
---

# Cancel document verification

`POST /v1/document/cancel`

Abort verification of an uploaded <<glossary:Document>>.

---

> 🚧 No turning back!
> Canceling verification of an uploaded <<glossary:Document>> will permanently delete all associated data.

You cannot cancel the verification of a <<glossary:Document>> that is in the `REJECTED` or `VERIFICATION_COMPLETE` state. You can stop the verification at any time while the file is in the `VERIFYING` state, but you may still be charged for its processing depending on the timing of your cancelation.

## Request body

- object
  - `doc_pk` string — The <<glossary:PK>> of the <<glossary:Document>> that you no longer want to be verified. Mutually exclusive with `doc_uuid`.
  - `doc_uuid` string — The unique identifier of the <<glossary:Document>> that you no longer want to be verified. Mutually exclusive with `doc_pk`.
  - `accept_charges` boolean — Indicate whether you accept verification charges, if applicable.

## Response `200`

Success

- object
  - `status` integer — A numerical code that indicates the status of the request.
  - `response` object — An object received from the server that potentially contains data.
  - `message` string — A textual description that indicates details about this response's status.

## Other responses

- `400` — Client Errors

---

[API](https://skmtc.net/ocrolus/apis/user-management.md) · [All operations](https://skmtc.net/ocrolus/apis/user-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ocrolus/user-management/revisions/3571ef602d13/schema)
