calendar.acl.patch
Update a calendar's access control rule with patch semantics, modifying only specified ACL fields such as role or scope. Use to adjust sharing permissions without replacing the full rule.
Instructions
Updates an access control rule. This method supports patch semantics [HTTP PATCH] — updates the resource; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON AclRule object accepting etag, id, kind, role, scope; pass it via params or whole via body_file Siblings over the same resource: delete, get, insert, list, update, watch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| ruleId | Yes | [URL path segment] ACL rule identifier. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON AclRule object. | |
| calendarId | Yes | [URL path segment] Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use | |
| request_body | No | Request body of type AclRule: pass it via `params` (merged into the built body) or whole via `body_file`. | |
| sendNotifications | No | [query parameter] Whether to send notifications about the calendar sharing change. Note that there are no notifications on access removal. Optional. The default is True. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| etag | No | ||
| kind | No | ||
| role | No | ||
| scope | No |