Share a calendar
POST/api/calendars/:id/shares
Shares one of the signed-in user's calendars with a user or a group and returns the new share. subjectType is user or group, and subjectId is that directory id. A body that sends userId and omits subjectType is a user share. accessLevel is readonly (the default) or readwrite. A user share shows the calendar to that user. A group share shows it to the group's current members. Change notifications start on for each person, and each person can hide the calendar or turn notifications off without affecting the others. Owner only. Every failure returns 400, including a calendar that does not exist or is not the caller's, an unknown or inactive user or group, sharing with yourself, and a subject who already has a share.
Request
Responses
- 201
- 400
Share.
Request failed.