How do you cancel a single upload?

I see the cancelAll method in the documentation, but I’m not sure how to go about cancelling a specific upload. Seems like a common use-case, so I’m not sure what I’m missing. Any help is appreciated, thank you!

Nevermind, turns out removeFile was what I was after.