PATCH {{baseUrl}}/calendars/users/:userIdentifier/calendarList/:calendarId?colorRgbFormat=<boolean>
Updates an existing calendar on the user's calendar list. Scopes: Rate Limit Label: calendar:write
,calendar:write:admin
LIGHT
Body
PARAM
Key | Datatype | Required | Description |
colorRgbFormat
|
string | This parameter must be set to true when user wants to change the foreground or background color. |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"id": "<email>",
"kind": "<string>",
"etag": "<string>",
"summary": "<string>",
"description": "<string>",
"location": "<string>",
"timeZone": "<string>",
"colorId": "<string>",
"backgroundColor": "<string>",
"foregroundColor": "<string>",
"hidden": "<boolean>",
"selected": "<boolean>",
"accessRole": "reader",
"defaultReminders": [
{
"method": "popup",
"minutes": "<integer>"
},
{
"method": "popup",
"minutes": "<integer>"
}
],
"defaultAllDayReminders": [
{
"method": "email",
"minutes": "<integer>"
},
{
"method": "popup",
"minutes": "<integer>"
}
],
"notificationSettings": {
"notifications": [
{
"type": "eventChange",
"method": "email"
},
{
"type": "agenda",
"method": "email"
}
]
},
"primary": "<boolean>",
"deleted": "<boolean>",
"summaryOverride": "<string>"
} |
ENDPOINTS