Canceling Your Automation Task
Why Cancel?
Canceling a task prevents it from executing in the future.
Useful when:
- Task logic is no longer needed.
- You made a mistake in the task parameters.
- You want to avoid draining your wallet from recurring executions.
Run the Cancel Command
supra move automation cancel \
--task-index <TASK_INDEX> \
--rpc-url <TESTNET or MAINNET>Parameter Guide
--task-index: The unique identifier of the task you want to cancel. Each task is assigned an index when registered.
How do you find your --task-index?
To find your task index:
- Go to SupraScan
- Enter your deployer address
- Navigate to the “Tasks” tab
- Locate the active task you want to cancel
- Find the Task ID value listed with the task details
You’ll use this index in your cancel command.

Understand Parameters
supra move automation cancel \
--task-index 347 \
--rpc-url https://rpc-testnet.supra.comIf you see this:
"vm_status": "Executed successfully"
You have successfully cancelled the automation task!
After Canceling
- The task is no longer active
- No additional executions will occur
- You won’t be charged automation or gas fees for that task anymore
Post-Cancel: Sanity Check
- Visit SupraScan
- Search your deployer address
- Navigate to the Tasks tab or check your function call history
- Confirm that the automated function is no longer executing
If you still see executions, double-check that the correct task was cancelled using right --task-index
Last updated on