4.3 Delete files

DELETE /documentClassification/deleteFiles

This endpoint permanently deletes one or more specific files from a batch within a document classification process.

You must provide the classificationId, batchId, and a list of fileIds in the request body. This action is irreversible and will remove the specified files and their associated results, without affecting the rest of the batch or classification.

Use this endpoint to precisely remove files without deleting the entire batch or classification. Separate endpoints exist for deleting entire classifications or batches.

Server URL

https://api.extracta.ai/api/v1

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Required
Description

classificationId

string

true

The classification id.

batchId

string

true

The batch id.

fileIds

list<string>

true

A list of specific file ids.

Body Example

Code Example

Responses

Last updated

Was this helpful?