Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.26 KB

hostinger-mail_messages_patch.md

File metadata and controls

41 lines (28 loc) · 1.26 KB

hostinger-mail messages patch

Update message flags

Synopsis

Add and/or remove flags on a single message. Returns the updated message.

hostinger-mail messages patch <mailbox-resource-id> <folder> <uid> [flags]

Examples

  hostinger-mail messages patch my-mailbox-resource-id my-folder 1234567

Options

      --addflags strings      IMAP flags to set on the message, e.g. \Seen, \Flagged, \Answered, $forwarded.
  -h, --help[=true|false]     help for patch
      --removeflags strings   IMAP flags to clear from the message.

Options inherited from parent commands

      --config string           Config file (default is $HOME/.hostinger-mail.yaml)
      --dry-run[=true|false]    Print the request as a curl command instead of sending it
  -o, --format string           Output format: table|json|yaml|tree (default: table on a terminal, json when piped)
      --jq string               Filter the JSON response with a jq expression, e.g. '.data[].id'
      --no-input[=true|false]   Never prompt; fail when an argument, flag or confirmation is missing
      --verbose[=true|false]    Print the config file used and each HTTP request to stderr

SEE ALSO