Updates metadata for a calendar. Try it now.
Request
HTTP request
PUT https://www.googleapis.com/calendar/v3/calendars/calendarId
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
calendarId |
string |
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 the "primary " keyword.
|
Authorization
This request requires authorization with at least one of the following scopes:
Scope |
---|
https://www.googleapis.com/auth/calendar |
https://www.googleapis.com/auth/calendar.app.created |
https://www.googleapis.com/auth/calendar.calendars |
For more information, see the authentication and authorization page.
Request body
In the request body, supply a Calendars resource with the following properties:
Property name | Value | Description | Notes |
---|---|---|---|
Optional Properties | |||
description |
string |
Description of the calendar. Optional. | writable |
location |
string |
Geographic location of the calendar as free-form text. Optional. | writable |
summary |
string |
Title of the calendar. | writable |
timeZone |
string |
The time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) Optional. | writable |
Response
If successful, this method returns a Calendars resource in the response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.