Merge pull request #1627 from influxdata/delete-404

redirect delete w predicate to influx delete
pull/1630/head
kelseiv 2020-10-08 11:03:07 -07:00 committed by GitHub
commit 9eb3ba4990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

@ -1,5 +1,8 @@
---
title: influx delete
aliases:
- /influxdb/v2.0/tags/delete/
- /influxdb/v2.0/reference/syntax/delete-predicate/
description: The `influx delete` command deletes points from an InfluxDB bucket.
menu:
influxdb_2_0_ref:
@ -12,11 +15,9 @@ influxdb/v2.0/tags: [delete]
The `influx delete` command deletes [points](/influxdb/v2.0/reference/glossary/#point)
from an InfluxDB bucket.
## Usage
```
influx delete [flags]
```
{{% note %}}
In this release, the delete with predicate API (`/api/v2/delete`) has been disabled. This API now returns a 501 Not implemented message.
{{% /note %}}
## Flags
| Flag | | Description | Input type | {{< cli/mapped >}} |
@ -28,7 +29,7 @@ influx delete [flags]
| `-h` | `--help` | Help for the `delete` command | | |
| | `--host` | HTTP address of InfluxDB (default `http://localhost:8086`) | string | `INFLUX_HOST` |
| `-o` | `--org` | Organization name | string | `INFLUX_ORG` |
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` | |
| | `--org-id` | Organization ID | string | `INFLUX_ORG_ID` |
| | `--skip-verify` | Skip TLS certificate verification | | |
| | `--start` | Start time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string | |
| | `--stop` | Stop time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string | |