4. Delete extraction
Last updated
Last updated
DELETE
/deleteExtraction
This endpoint enables the deletion of an entire extraction process, a specific batch within an extraction, or an individual file, depending on the parameters provided in the request body. The action is permanent and cannot be undone.
Providing only the extractionId
results in the deletion of the entire extraction process along with all associated batches and files.
Specifying both extractionId
and batchId
deletes the specified batch and all files within it from the extraction.
Including extractionId
, batchId
, and fileId
leads to the deletion of a specific file within a batch.
For a complete and interactive set of API requests, please refer to our Postman Integrationcollection.
Name | Value |
---|---|
Name | Type | Required | Description |
---|---|---|---|
Content-Type
application/json
Authorization
Bearer <token>
extractionId
string
true
The extraction id
batchId
string
false
The batch id
fileId
string
false
The file id