calendar.calendarList.patch
Updates selected fields of an existing calendar entry in the user's calendar list using patch semantics; use it to change color, reminders, visibility, or other settings without replacing the full entry.
Instructions
Updates an existing calendar on the user's calendar list. 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 CalendarListEntry object accepting accessRole, autoAcceptInvitations, backgroundColor, colorId, conferenceProperties, dataOwner, defaultReminders, deleted and 13 more fields; 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. | |
| 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 CalendarListEntry 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 CalendarListEntry: pass it via `params` (merged into the built body) or whole via `body_file`. | |
| colorRgbFormat | No | [query parameter] Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB). If this feature is used, the index-based colorId field will be |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| etag | No | ||
| kind | No | ||
| hidden | No | ||
| colorId | No | ||
| deleted | No | ||
| primary | No | ||
| summary | No | ||
| location | No | ||
| selected | No | ||
| timeZone | No | ||
| dataOwner | No | ||
| accessRole | No | ||
| description | No | ||
| backgroundColor | No | ||
| foregroundColor | No | ||
| summaryOverride | No | ||
| defaultReminders | No | ||
| conferenceProperties | No | ||
| notificationSettings | No | ||
| autoAcceptInvitations | No |