task_not_running ยท 409

The task has ended

Only a task still running can be cancelled.

The API answers this problem as application/problem+json, with this page as its type and task_not_running as its code. Every call is in the API's document.