Back to Influxdb

Delete

content/shared/influxdb-v2/reference/cli/influx/scripts/delete.md

latest1.9 KB
Original Source

The influx scripts delete command deletes an invokable script in InfluxDB.

Usage

influx scripts delete [flags]

Flags

FlagDescriptionInput type{{< cli/mapped >}}
-c--active-configCLI configuration to use for commandstring
--configs-pathPath to influx CLI configurations (default ~/.influxdbv2/configs)stringINFLUX_CONFIGS_PATH
-h--helpHelp for the delete command
--hide-headersHide table headers (default false)INFLUX_HIDE_HEADERS
--hostHTTP address of InfluxDB (default http://localhost:8086)stringINFLUX_HOST
--http-debugInspect communication with InfluxDB servers.string
--jsonOutput data as JSON (default false)INFLUX_OUTPUT_JSON
-i--scriptID({{< req >}}) Script IDstring
--skip-verifySkip TLS certificate verificationINFLUX_SKIP_VERIFY
-t--tokenAPI tokenstringINFLUX_TOKEN

Examples

{{< cli/influx-creds-note >}}

Delete a script
sh
influx scripts delete -i 0Xx0oox00XXoxxoo1