The CLI purge cancel command
Reference of the xConnect DevEx CLI cancel command that stops purge tasks.
The xConnect DevEx CLI plugin includes a cancel
subcommand. This command cancels the progress of a registered purge task.
You can use the command as follows:
sitecore xconnect purge cancel [options]
You can use the following options with the command:
Option | Required? | Description |
---|---|---|
| Yes | The path to the |
| Yes | The Sitecore environment to use. Default: |
| Yes | The unique identifier of the ongoing purge task. |
| No | Report additional diagnostic and performance data. |
| No | Report additional diagnostic and performance data. |
| No | Help for the command. |
Note
You can only cancel the task if it is in the Pending or In Progress state. Otherwise, the command returns an error. Use the status command to retrieve the current state of the task.