# data delete resume

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                                                                                                                         |
| ------------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| `--api-version`     | N/A               | **Type:** Value<br><br>Override the api version used for api requests made by this command                                          |
| `--flags-dir`       | N/A               | **Type:** Value<br><br>Import flag values from a directory.                                                                         |
| `--job-id`          | `-i`              | **Type:** Value<br><br>ID of the job you want to resume.                                                                            |
| `--json`            | N/A               | **Type:** Boolean<br><br>Format output as json.                                                                                     |
| `--target-org`      | `-o`              | **Type:** Value<br><br>Username or alias of the target org. Not required if the "target-org" configuration variable is already set. |
| `--use-most-recent` | N/A               | **Type:** Boolean<br>**Default value:** `true`<br><br>Use the ID of the most recently-run bulk job.                                 |
| `--wait`            | 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:

```shell
sf data delete resume --job-id 750xx000000005sAAA
```

Resume the most recently run bulk delete job for an org with alias my-scratch:

```shell
sf data delete resume --use-most-recent --target-org my-scratch
```
