docs-v2/content/v2.0/reference/cli/influx/bucket/update.md

1.3 KiB

title description menu
influx bucket update The 'influx bucket update' command updates information associated with buckets in InfluxDB.
v2_0_ref
name parent weight
influx bucket update influx bucket 1

The influx bucket update command updates information associated with buckets in InfluxDB.

Usage

influx bucket update [flags]

Flags

Flag Description Input type
-h, --help Help for the update command
-i, --id The bucket ID (Required) string
-n, --name New bucket name string
-r, --retention New duration data will live in bucket duration

Global Flags

Global flag Description Input type
--host HTTP address of InfluxDB (default http://localhost:9999) string
--local Run commands locally against the filesystem
-t, --token API token to be used throughout client calls string