maton notion page update

Update page properties or icon

maton notion page update <page-id> [flags]

Options

--connection <string>
Connection ID to route through (Maton-Connection header)
--dry-run
Print the request that would be sent without executing it
--icon <string>
Page icon: an emoji (e.g. 🚀) or an image URL
-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)
--properties <string>
Properties to update as JSON
-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 notion page update 0123... --properties '{"Status":{"select":{"name":"Done"}}}'
$ maton notion page update 0123... --icon 🚀
$ maton notion page update 0123... --icon https://example.com/icon.png

See also