# Cancel an OCR request
URL: https://docs.munito.ai/api/cancelOcr

DELETE /ocr/{request_id}

Cancels an OCR request that is still running.

```json
{
  "operationId": "cancelOcr",
  "summary": "Cancel an OCR request",
  "tags": [
    "OCR"
  ],
  "description": "Cancels an OCR request that is still running.",
  "parameters": [
    {
      "name": "request_id",
      "in": "path",
      "required": true,
      "description": "The OCR request to cancel.",
      "schema": {
        "type": "string"
      }
    }
  ],
  "responses": {
    "204": {
      "description": "The request is cancelled."
    },
    "404": {
      "description": "No OCR request with this id exists in your workspace."
    }
  }
}
```

# Shared API schemas
{
  "securitySchemes": {
    "BearerAuth": {
      "type": "http",
      "scheme": "bearer",
      "description": "Your Munito API key."
    },
    "ApiKeyAuth": {
      "type": "apiKey",
      "in": "header",
      "name": "x-api-key",
      "description": "Your Munito API key."
    }
  }
}