This endpoint cancels a task so that it will not be completed.
You may only cancel pending tasks, and the endpoint will return a 400 error code if you attempt to cancel a completed task
If the task to be cancled had a unique id, specifying clear_unique_id=true will remove the unique id. Canceling tasks is idempotent such that calling this endpoint multiple times will still return a 200 success response.
Click Try It! to start a request and see the response here!