I'm implementing a software that creates an event in a calendar, but when I create it, Google adds a hangout (video call) link by default. Thats make the event a bit confusing.
I know that you can eliminate this by going to the user advanced options and untick the option, but I cant access it. I'm using java and OAuth 2.0 to get the token with the permissions, and calendar v3 api to create the event.
Is there anyway you can eliminate this hangout link throughout code?
In the documentation I've found:
myEntry.setHangoutLink(null);
but it still doesn't work.
On your computer, open Google Calendar. Settings. On the left, under "Event Settings." Click on or off Automatically add Google Meet video conferences to events I create.
You can add or remove a video conference to your Calendar events. On your Android device, open Google Calendar. Create an event, or open an existing event you have edit access to. To add a new video conference, tap Add video conferencing.
Millions of people use Google Calendar to track their events. The Calendar API lets you integrate your app with Google Calendar, creating new ways for you to engage your users.
Edited 2018-09-19
You can remove the Hangout from a Google Calendar event by making an Events.patch
request, ensuring you set the query parameter conferenceDataVersion
to 1
and with a body that sets conferenceData
to null
. For example:
POST https://www.googleapis.com/calendar/v3/calendars/primary/events/{EVENT_ID}
?conferenceDataVersion=1
Authorization: Bearer {ACCESS_TOKEN}
{
"conferenceData": null
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With