maton google-calendar acl update

maton google-calendar acl update <rule-id> [flags]

PATCH the rule. Use –role for the common case (changing access level), or –body for arbitrary JSON.

Options

--body <string>
JSON object of fields to patch (escape hatch)
-c, --calendar <string>
Calendar ID (required)
--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)
--role <string>
New access role (none|freeBusyReader|reader|writer|owner)
--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 google-calendar acl update user:alice@example.com -c primary --role writer
$ maton google-calendar acl update user:alice@example.com -c primary --body '{"role":"writer"}'

See also