maton outlook folder list

List mail folders (top-level by default; child folders with –parent)

maton outlook folder list [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
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--parent <string>
Parent folder ID or well-known name; lists child folders when set
-t, --template <string>
Format JSON output using a Go template; see "maton help formatting"
--top <string> (default "25")
OData $top — max results per page

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 list
$ maton outlook folder list --top 100
$ maton outlook folder list --parent Inbox
$ maton outlook folder list --json
$ maton outlook folder list --paginate

See also