---
title: kapacitor flux task delete
description: The kapacitor flux task delete command deletes Kapacitor Flux tasks.
url: https://docs.influxdata.com/kapacitor/v1/reference/cli/kapacitor/flux/task/delete/
estimated_tokens: 177
product: Kapacitor
version: v1
publisher: InfluxData
canonical: https://docs.influxdata.com/kapacitor/v1/reference/cli/kapacitor/flux/task/delete/
date: '2023-10-03T10:49:57-06:00'
lastmod: '2023-10-03T10:49:57-06:00'
---

The `kapacitor flux task delete` command deletes Kapacitor Flux tasks.

## Usage

```sh
kapacitor flux task delete [flags]
```

## Flags

|Flag|        |        Description        |
|----|--------|---------------------------|
|`-h`|`--help`|     Show command help     |
|`-i`| `--id` |Required: Task ID to delete|
|    |`--json`|    Output data as JSON    |

## Examples

```sh
kapacitor flux task delete --id 000x00xX0xXXx00
```

#### Related

* [Delete Kapacitor Flux tasks](/kapacitor/v1/working/flux/manage/delete/)
| Flag |  | Description |
| --- | --- | --- |
| Flag |  | Description |
| -h | --help | Show command help |
| -i | --id | Required : Task ID to delete |
|  | --json | Output data as JSON |
