How to cancel export task

when I use "curl http://xxxxx:8080/admin --silent --request POST --header “Content-Type: application/graphql” --upload-file export.graphql " command to export data, then I get a task id in queued. If I want to cancel this task, How do I do it

The task Id is used to know the status. You can’t cancel it. We could add this feature in the future.

thank you very much.
I have one more question. When export data, is there any way to limit its CPU, memory, etc?Because every time I export data, I find that the pod’s CPU and memory are full

No. Something to think about.