> ## 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.

# DeleteBatch

> ABBYY FlexiCapture Web Services API の DeleteBatch メソッドを使用して、バッチとそのエクスポート済みのドキュメントを削除します。このメソッドは成功フラグを返します。

<div id="what-it-does">
  ## 実行内容
</div>

バッチを削除します。

<Warning>
  バッチを削除すると、そのバッチに含まれるエクスポート済みのドキュメントも削除されます。
</Warning>

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

```
bool DeleteBatch( int sessionId, int batchId );
```

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

| **Name**  | **型** | **Description**             |
| --------- | ----- | --------------------------- |
| sessionId | int   | Application Server への接続の ID |
| batchId   | int   | 削除するバッチの ID                 |

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

| **型** | **説明**               |
| ----- | -------------------- |
| bool  | 操作が正常に完了したかどうかを示すフラグ |
