InfluxDB Docs

influx bucket delete

The influx bucket delete command deletes a bucket from InfluxDB and all the data it contains.

Usage

influx bucket delete [flags]

Flags

FlagDescriptionInput typeMaps to ?
-h, --helpHelp for the delete command
--hide-headersHide table headers (default false)INFLUX_HIDE_HEADERS
-i, --idBucket ID (required if no --name)string
--jsonOutput data as JSON (default false)INFLUX_OUTPUT_JSON
-n, --nameBucket name (requires --org or org-id)string
-o, --orgOrganization namestringINFLUX_ORG
--org-idOrganization IDstringINFLUX_ORG_ID

Global Flags

FlagDescriptionInput typeMaps to ?
--hostHTTP address of InfluxDB (default http://localhost:9999)stringINFLUX_HOST
--localRun commands against the local filesystem
--skip-verifySkip certificate verification (use when connecting over TLS with a self-signed certificate)
-t, --tokenAPI token to use in client callsstringINFLUX_TOKEN

New! Cloud or OSS?