docs-v2/content/v2.0/reference/cli/influx/task/delete.md

30 lines
1.0 KiB
Markdown

---
title: influx task delete
description: The 'influx task delete' command deletes a task in InfluxDB.
menu:
v2_0_ref:
name: influx task delete
parent: influx task
weight: 201
---
The `influx task delete` command deletes a task in InfluxDB.
## Usage
```
influx task delete [flags]
```
## Flags
| Flag | Description | Input type |
|:---- |:----------- |:----------: |
| `-h`, `--help` | Help for `delete` | |
| `-i`, `--id` | Task id **(Required)** | string |
## Global flags
| Global flag | Description | Input type |
|:----------- |:----------- |:----------:|
| `--host` | HTTP address of InfluxDB (default `http://localhost:9999`) | string |
| `--local` | Run commands against the local filesystem | |
| `-t`, `--token` | API token to use in client calls | string |