Skip to content

CLI command

tinbox update-draft

Edit an existing draft (compare-and-swap on baseVersion to avoid clobbering concurrent edits). Pass the draft id, the baseVersion you last saw, and the fields to change.

Generated from tool: update_draft

Usage

sh
tinbox update-draft --id <id> --baseVersion <baseVersion> --subject <subject> --bodyText <bodyText>

Flags

NameTypeRequiredDefaultDescription
--idstringyes—The draft id.
--baseVersionstringyes—The version you read before editing.
--subjectstringyes—subject
--bodyTextstringyes—bodyText