Skip to the documentation
API

Delete a task

Deletes a task for good, with every run it made, their transcripts and their approval requests. Mail it sent or sorted stays as it is.

DELETE/tasks/{id}

Runs the real call on your workspace.

DELETE /tasks/{id}

Deletes a task for good, with every run it made, their transcripts and their approval requests. Mail it sent or sorted stays as it is.

Example

Needs tasks:write.

curl
curl -X DELETE "$OE/tasks/tsk_4b9e2c7a1f3d86e05a9c2b7d" -H "$AUTH"
Response
{  "object": "task",  "id": "tsk_4b9e2c7a1f3d86e05a9c2b7d",  "deleted": true}

A run that is going when its task is deleted stops before its next step and leaves no record.

To stop a task and keep its history, pause it instead.

Reference