1. xConnect DevEx CLI plugin

The CLI purge cancel command

Version:

The xConnect DevEx CLI plugin includes a cancel subcommand. This command cancels the progress of a registered purge task.

Usage

You can use the command as follows:

sitecore xconnect purge cancel [options]

Options

You can use the following options with the command:

OptionRequired?Description
-c, --configYesThe path to the sitecore.json configuration file (default: cwd). A DevEx CLI standard option.
-n, --environment-nameYesThe Sitecore environment to use. Default: default. A DevEx CLI standard option.
--pti, --processing-task-idYesThe unique identifier of the ongoing purge task.
-v, --verboseNoReport additional diagnostic and performance data.
-t, --traceNoReport additional diagnostic and performance data.
-?, -h, --helpNoHelp 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.

If you have suggestions for improving this article, let us know!