curl --request POST \
--url https://api.phylo.bio/v1/experimental/tasks/{task_id}/cancel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"type": "task_status",
"id": "tsk_014MUnN99MEVcklVXXfFbxXb",
"status": "cancelled"
}Tasks
Cancel a task
Stop a running task.
POST
/
experimental
/
tasks
/
{task_id}
/
cancel
curl --request POST \
--url https://api.phylo.bio/v1/experimental/tasks/{task_id}/cancel \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'{
"type": "task_status",
"id": "tsk_014MUnN99MEVcklVXXfFbxXb",
"status": "cancelled"
}The body is optional. Omit it, or send
"force": false, for a graceful stop. "force": true cancels immediately.Authorizations
Requires an API key. See the Authentication guide.
Path Parameters
Body
application/json
Omit the body for a graceful cancel.
