stack kb streams delete-streams-streamname-attachments-attachmenttype-attachmentid cli command

Destructive Auth required Idempotent Scope: global
elastic stack kb streams delete-streams-streamname-attachments-attachmenttype-attachmentid \
  --stream-name <stream-name> \
  --attachment-type <attachment-type> \
  --attachment-id <attachment-id> \
  [options]
		

Unlink an attachment from a stream

Behaviour flags:

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

--stream-name string required
The name of the stream
--attachment-type string required
The type of the attachment
--attachment-id string required
The ID of the attachment
--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)
--yes
confirm destructive action without prompting
--json

output as JSON