maton outlook folder create
Create a mail folder (top-level by default; nested with –parent)
maton outlook folder create [flags]
Options
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--dry-run - Print the request that would be sent without executing it
-q,--jq <expression>- Filter JSON output using a jq expression
-
--json - Output raw JSON
-
--name <string> - Folder display name (required)
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--parent <string> - Parent folder ID or well-known name; creates a child folder when set
-t,--template <string>- Format JSON output using a Go template; see "maton help formatting"
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton outlook folder create --name "Receipts"
$ maton outlook folder create --name "Q4" --parent Inbox