Skip to main content
POST
/
api
/
app-api
/
sip
/
platform
/
v2
/
file
/
delete
Delete Tasks
curl --request POST \
  --url https://docflow.textin.com/api/app-api/sip/platform/v2/file/delete \
  --header 'Content-Type: application/json' \
  --header 'x-ti-app-id: <api-key>' \
  --header 'x-ti-secret-code: <api-key>' \
  --data '{
  "workspace_id": 1234567890,
  "batch_number": [
    "202412190001",
    "202412190002"
  ],
  "task_id": [
    "1978297791713619968",
    "1978297791713619969"
  ],
  "file_id": [
    "1978297792124661760",
    "1978297792124661761"
  ],
  "start_time": 1760523600,
  "end_time": 1760523600
}'
{
  "code": 200,
  "msg": "<string>",
  "result": {
    "deleted_count": 1
  }
}

Authorizations

x-ti-app-id
string
header
required
x-ti-secret-code
string
header
required

Body

application/json
workspace_id
string
required

Workspace ID

Example:

1234567890

batch_number
string[]

Batch number list

Example:
["202412190001", "202412190002"]
task_id
string[]

Task ID list

Example:
[
"1978297791713619968",
"1978297791713619969"
]
file_id
string[]

File ID list

Example:
[
"1978297792124661760",
"1978297792124661761"
]
start_time
integer

Start time (epoch timestamp, unit: seconds)

Example:

1760523600

end_time
integer

End time (epoch timestamp, unit: seconds)

Example:

1760523600

Response

200 - application/json

Successfully deleted tasks

code
integer
required

Status code

Example:

200

msg
string
required

Status description

result
object
I