Skip to main content
POST
/
api
/
v1
/
tasks
/
{task_id}
/
cancel
Cancel Task
curl --request POST \
  --url https://api.mindfort.app/api/v1/tasks/{task_id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

API key generated from the MindFort dashboard. Pass as Authorization: Bearer <your-api-key>.

Path Parameters

task_id
string<uuid>
required

UUID of the task to cancel

Response

Task cancelled successfully

task_id
string<uuid>

UUID of the cancelled task

status
string

Cancellation status