stack kb context-engine delete-context-engine-ai-index-aiindexid cli command

Destructive Auth required Idempotent Scope: global
elastic stack kb context-engine delete-context-engine-ai-index-aiindexid \
  --ai-index-id <ai-index-id> \
  [options]
		

Delete an AI Index

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--ai-index-id string required
The unique identifier of the AI Index.
--delete-knowledge-indicators
When true, also delete the backing data stream/index, which removes its Knowledge Indicators. Skipped when another AI Index still uses the same dest. Defaults to false.
--delete-automations
When true, also delete the attached workflow automations. Defaults to false.
--input-file string
path to a JSON file to use as command input
--dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--no-validate
skip input validation and send the request as-is
--yes
confirm destructive action without prompting
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON