stack kb markdowns put-markdowns-id cli command
Auth required
Idempotent
Scope: global
elastic stack kb markdowns put-markdowns-id \
--id <id> \
--content <content> \
--title <title> \
[options]
Upsert a markdown library item
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--idstringrequired- The unique ID of the markdown library item to be created or updated.
--contentstringrequired- The Markdown text rendered by the panel. Supports GitHub-flavored Markdown, including headings, paragraphs, lists, links, images, tables, blockquotes, and code blocks. Use
\nfor line breaks within JSON strings. --titlestringrequired- The markdown library item title.
--descriptionstring- A short description of the markdown library item.
--settingsstring- Display settings for the markdown panel.
--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)
--json-
output as JSON