calendars
Transfers a secondary calendar between users within a Google Workspace organization. Requires user authentication with Manage Calendars administrator privilege, and one of the following authorization scopes:
- https://www.googleapis.com/auth/calendar
- https://www.googleapis.com/auth/calendar.calendars In the request, set useAdminAccess to true. The secondary calendar must be active to be transferred. Transferring disabled or deleted calendars isn't supported.
post/calendars/{calendarId}/transferOwnership
Path parameters
calendarIdstring required
Calendar identifier. To retrieve calendar IDs, call the calendarList.list method.
Query parameters
newDataOwnerstring required
The email address of a user who will become the data owner of the calendar.
useAdminAccessboolean required
When true, the method runs using the user's Google Workspace administrator privileges. The calling user must be a Google Workspace administrator with the Manage Calendars privilege. This method currently only supports admin access, thus only true is accepted for this field.
Response
Successful response