Skip to main content
POST
/
api
/
v2
/
tools
/
document-analysis
/
{task_id}
/
cancel
Cancel document analysis task
curl --request POST \
  --url https://paradigm.lighton.ai/api/v2/tools/document-analysis/{task_id}/cancel/ \
  --header 'Authorization: Bearer <token>'
{
"message": "Task cancellation attempted"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string<uuid>
required

UUID of the task to cancel

Response

Task cancellation attempted successfully

message
string
required