Resume a bulk delete job that you previously started. Uses Bulk API 2.0.
Description for data delete resume
The command uses the job ID returned by the "sf data delete bulk" command or the most recently-run bulk delete job.
Flags
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
| <code>‑‑api‑version</code> | N/A | Type: Value<br><br>Override the api version used for api requests made by this command |
| <code>‑‑flags‑dir</code> | N/A | Type: Value<br><br>Import flag values from a directory. |
| <code>‑‑job‑id</code> | <code>‑i</code> | Type: Value<br><br>ID of the job you want to resume. |
| <code>‑‑json</code> | N/A | Type: Boolean<br><br>Format output as json. |
| <code>‑‑target‑org</code> | <code>‑o</code> | Type: Value<br><br>Username or alias of the target org. Not required if the "target-org" configuration variable is already set. |
| <code>‑‑use‑most‑recent</code> | N/A | Type: Boolean<br>Default value: true<br><br>Use the ID of the most recently-run bulk job. |
| <code>‑‑wait</code> | N/A | Type: Value<br><br>Number of minutes to wait for the command to complete before displaying the results. |
Examples for data delete resume
Resume a bulk delete job from your default org using an ID:
sf data delete resume --job-id 750xx000000005sAAA
Resume the most recently run bulk delete job for an org with alias my-scratch:
sf data delete resume --use-most-recent --target-org my-scratch
<!-- prettier-ignore-end -->