v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-133839143.7 KB
calendars

Creates a secondary calendar. The authenticated user for the request is made the data owner of the new calendar.

Note: We recommend to authenticate as the intended data owner of the calendar. You can use domain-wide delegation of authority to allow applications to act on behalf of a specific user. Don't use a service account for authentication. If you use a service account for authentication, the service account is the data owner, which can lead to unexpected behavior. For example, if a service account is the data owner, data ownership cannot be transferred.

post/calendars

Request body

idstring

Identifier of the calendar. To retrieve IDs call the calendarList.list() method.

timeZonestring

The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional.

dataOwnerstring

The email of the owner of the calendar. Set only for secondary calendars. Read-only.

summarystring

Title of the calendar.

etagstring

ETag of the resource.

descriptionstring

Description of the calendar. Optional.

kindstring

Type of the resource ("calendar#calendar").

autoAcceptInvitationsboolean

Whether this calendar automatically accepts invitations. Only valid for resource calendars.

locationstring

Geographic location of the calendar as free-form text. Optional.

Response

Successful response