# dflow jobs:delete

> Delete a one-off job or a scheduled job.

Web page: /docs/cli/data/jobs-delete/

This deletes a one-off job or a scheduled job. `--confirm` has to be the job name. The wrong value deletes nothing.

```bash
dflow jobs:delete NAME --app APP --confirm NAME
```

## Flags

`--app` and `--confirm` are required. `--confirm` is the job name.

## What you see

The job or CronJob is removed.

## When it fails

The wrong confirm value does not delete the job.
