Reputation: 435
Overview: can't update or patch an event using the Google Calendar API as the organizer of the event (as documented here https://developers.google.com/calendar/api/v3/reference/events/patch).
To reproduce:
Create an event with user 1 (creator)
Pass ownership of the event to user 2 (organizer), so that the organizer of the event is not the same as the creator
call PATCH https://www.googleapis.com/calendar/v3/calendars/<calendarId>/events/<eventId>
changing the summary or description (e.g. { "summary": "a new summary" }), using auth_token from user 2 (the organizer).
The response of the patch will be 200 SUCCESS, but the event itself is not changed.
Thank you if anyone can confirm this or has any other insights!
Upvotes: 0
Views: 1126
Reputation: 435
Ah ok, I was mistaken and made a few bad choices when testing.
I got the users (creator and organizer) mixed up in Step 4 during my testing and Nazia was right, the organizer of the event will be the only person that can patch/update the event once ownership is transferred, unless permissions is given to Guests to allow editing of the event (check the "Modify event" checkbox under "Guest permissions" when editing the event as the organizer).
Even the creator of the event will not have permissions (API or otherwise) to edit the event unless that permission is given.
Upvotes: 1