POST /calendars/{calendarId}/transferOwnership
Changed onTransfers 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.
Request
- Base URLhttps://www.googleapis.com/calendar/v3
- URLhttps://www.googleapis.com/calendar/v3/calendars/{calendarId}/transferOwnership
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/calendarAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/calendar
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/calendar.calendarsAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/calendar.calendars
Path parameters
Calendar identifier. To retrieve calendar IDs, call the calendarList.list method.
Query parameters
The email address of a user who will become the data owner of the calendar.
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
Changes
- info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/calendar.calendarswas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendar.calendarswas removed from the endpoint's security schemeOauth2c
- info
- info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendarwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/calendar.calendarswas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/calendar.calendarswas removed from the endpoint's security schemeOauth2c
- info