POST {{baseUrl}}/calendars/users/:userIdentifier/calendarList?colorRgbFormat=<boolean>
Inserts an existing calendar into the user's calendar list. The user can be Scopes: Rate Limit Label: me
or a given calendar ID. calendar:write
,calendar:write:admin
LIGHT
Body
PARAM
Key | Datatype | Required | Description |
colorRgbFormat
|
string | This parameter must be set to true when the 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": "email",
"minutes": "<integer>"
}
],
"defaultAllDayReminders": [
{
"method": "popup",
"minutes": "<integer>"
},
{
"method": "email",
"minutes": "<integer>"
}
],
"notificationSettings": {
"notifications": [
{
"type": "eventCreation",
"method": "email"
},
{
"type": "eventChange",
"method": "email"
}
]
},
"primary": "<boolean>",
"deleted": "<boolean>",
"summaryOverride": "<string>"
} |
ENDPOINTS