> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DeleteDocument

> ABBYY FlexiCapture Web Services API の DeleteDocument メソッドは、バッチ からドキュメントとそのエクスポート結果を削除し、成功を示すフラグを返します。

<div id="what-it-does">
  ## 機能
</div>

ドキュメントを削除します。

<Warning>
  ドキュメントを削除すると、そのエクスポート結果も削除されます。
</Warning>

<div id="definition">
  ## 定義
</div>

```
bool DeleteDocument( int sessionId, int batchId, int documentId );
```

<div id="parameters">
  ## パラメーター
</div>

| **Name**   | **型** | **Description**            |
| ---------- | ----- | -------------------------- |
| sessionId  | int   | Application Server への接続 ID |
| batchId    | int   | 削除するドキュメントを含むバッチの ID       |
| documentId | int   | 削除するドキュメントの ID             |

<div id="returned-value">
  ### 戻り値
</div>

| **型** | **説明**              |
| ----- | ------------------- |
| bool  | この操作が成功したかどうかを示すフラグ |
