PATCH/calendars/{calendarId}
Updates shared properties of a specified calendar.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
calendar
| Parameter | Type | Description |
|---|---|---|
| calendarId | string | Calendar ID required example : calendar-96b8-4c74-8277-7953e0b4604a |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| calendarName | string | Calendar name maxLength : 50 |
| members | array (CalendarMember) | List of calendar members minItems : 0 uniqueItems : true |
| description | string | Calendar description maxLength : 1000 |
| isPublic | boolean | Indicates whether the calendar is public. default : false |
| Property | Type | Description |
|---|---|---|
| id | string | user, group, orgunit unique id required |
| type | string | Member type
required Allowed values : USER, GROUP, ORGUNIT |
| role | string | Calendar roles
required Allowed values : CALENDAR_EVENT_READ_WRITE, EVENT_READ_WRITE, EVENT_READ, EVENT_READ_FREE_BUSY |
example
1{2 "calendarName": "calendar",3 "description": "memo",4 "members": [5 {6 "id": "member1@example.com",7 "type": "USER",8 "role": "CALENDAR_EVENT_READ_WRITE"9 },10 {11 "id": "member2@example.com",12 "type": "USER",13 "role": "EVENT_READ_WRITE"14 }15 ],16 "isPublic": true17}OK
| Property | Type | Description |
|---|---|---|
| calendarId | string | Calendar ID required |
| calendarName | string | Calendar name required maxLength : 50 |
| members | array (CalendarMember) | List of users required minItems : 0 uniqueItems : true |
| description | string | Calendar description |
| isPublic | boolean | Default : false |
| calendarEmail | string | Calendar's unique email address. |
| type | string | Calendar type Allowed values : DOMAIN, INDIVIDUAL, GROUP, ORGUNIT, MESSAGE readOnly : true |
| Property | Type | Description |
|---|---|---|
| id | string | user, group, orgunit unique id required |
| type | string | Member type
required Allowed values : USER, GROUP, ORGUNIT |
| role | string | Calendar roles
required Allowed values : CALENDAR_EVENT_READ_WRITE, EVENT_READ_WRITE, EVENT_READ, EVENT_READ_FREE_BUSY |
example
1{2 "calendarName": "calendar",3 "description": "memo",4 "members": [5 {6 "id": "member1@example.com",7 "type": "USER",8 "role": "CALENDAR_EVENT_READ_WRITE"9 },10 {11 "id": "member2@example.com",12 "type": "USER",13 "role": "EVENT_READ_WRITE"14 }15 ],16 "calendarEmail": "calendar-96b8-4c74-8277-7953e0b4604a@jp1-groups.example.com",17 "calendarId": "calendar-96b8-4c74-8277-7953e0b4604a",18 "isPublic": true,19 "type": "INDIVIDUAL"20}Bad Request
Forbidden
Not Found