--- title: influx v1 description: > The `influx v1` command provides commands for working with the InfluxDB 1.x API in InfluxDB 2.x. menu: influxdb_2_1_ref: name: influx v1 parent: influx weight: 101 cascade: related: - /influxdb/v2.1/upgrade/v1-to-v2/ - /influxdb/v2.1/reference/api/influxdb-1x/ - /influxdb/v2.1/reference/cli/influx/#provide-required-authentication-credentials, influx CLI—Provide required authentication credentials - /influxdb/v2.1/reference/cli/influx/#flag-patterns-and-conventions, influx CLI—Flag patterns and conventions metadata: [influx CLI 2.0.0+, InfluxDB 2.0.0+] --- The `influx v1` command provides commands for working with the [InfluxDB 1.x compatibility API](/influxdb/v2.1/reference/api/influxdb-1x/) in InfluxDB {{< current-version >}}. ## Usage ``` influx v1 [flags] influx v1 [command] ``` ## Subcommands | Subcommand | Description | |:-----------------------------------------------------|:---------------------------------------------- | | [auth](/influxdb/v2.1/reference/cli/influx/v1/auth/) | Authorization management commands for v1 APIs | | [dbrp](/influxdb/v2.1/reference/cli/influx/v1/dbrp/) | Database retention policy mapping management commands for v1 APIs | ## Flags | Flag | | Description | |:-----|:---------|:--------------------------| | `-h` | `--help` | Help for the `v1` command |