maton one-drive item create-folder

Create a new folder under the root or a given parent path

maton one-drive item create-folder <name> [flags]

Options

--conflict <string> (default "fail")
Conflict behavior: fail, replace, rename
--connection <string>
Connection ID to route through (Maton-Connection header)
--dry-run
Print the request that would be sent without executing it
--format <string>
Output format: 'json' (default) or 'text' on supported commands
-q, --jq <expression>
Filter JSON output using a jq expression
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--path <string>
Parent folder path (e.g. Documents/Projects)
--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 one-drive item create-folder Reports
$ maton one-drive item create-folder Reports --path Documents/Projects
$ maton one-drive item create-folder Reports --conflict rename

See also