2017-05-05 87 views
0

我正在使用Google Calendar API在我的Web應用程序(ReactJS)中刪除事件。Google Calendar API:如何禁用通知?

我想要做的是覆蓋默認的通知設置, 但值「不發送任何提醒」。

我發現的所有是overwrite the default,但有一個新的價值(例如電子郵件10分鐘)。

那麼,有沒有辦法通過谷歌日曆 API提醒設置爲false

這個JSON的樣子:

"reminders": { 
    "useDefault": boolean, 
    "overrides": [ 
    { 
     "method": string, 
     "minutes": integer 
    } 
    ] 
} 

回答