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-namestringrequired- The name of the stream
--attachment-typestringrequired- The type of the attachment
--attachment-idstringrequired- The ID of the attachment
--input-filestring- 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