Skip to main content

Delete task

DELETE 

/api/tasks/:task_id

Delete a task.

Features

You can use this endpoint to:

  • Immediately remove finished tasks (in done, rejected, and failed states) whose results are no longer needed to free up output file storage.
  • Cancel and remove tasks that are in progress (pending, and running) to free up processing capacity.

Automatic deletion of finished tasks

Finished tasks and their related output files (e.g., Denoiser tasks) are deleted automatically after a timeout. Manual deletion may be necessary if the output storage reaches its capacity and blocks creation of new tasks.

Note that input files are deleted immediately after processing.

Request

Responses

Response of successful task deletion doesn't have any content.