--- title: influx delete – Delete data from InfluxDB description: The 'influx delete' command deletes points from an InfluxDB bucket. menu: v2_0_ref: name: influx delete parent: influx weight: 101 v2.0/tags: [delete] --- The `influx delete` command deletes [points](/v2.0/reference/glossary/#point) from an InfluxDB bucket. ## Usage ``` influx delete [flags] ``` {{% warn %}} Running `influx delete` without the `-p` or `--predicate` flag deletes all data with timestamps between the specified `--start` and `--stop` times in the specified bucket. {{% /warn %}} ## Flags | Flag | Description | Input type | |:---- |:----------- |:----------:| | `-b`, `--bucket` | The name of bucket to remove data from | string | | `--bucket-id` | The ID of the bucket to remove data from | string | | `-h`, `--help` | Help for the `delete` command | | | `-o`, `--org` | The name of the organization that owns the bucket | string | | `--org-id` | The ID of the organization that owns the bucket | string | | `-p`, `--predicate` | InfluxQL-like predicate string (see [Delete predicate](/v2.0/reference/syntax/delete-predicate)) | string | | `--start` | The start time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | string | | `--stop` | The stop time in RFC3339 format (i.e. `2009-01-02T23:00:00Z`) | 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 |