Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.
See: Calendar API Reference for calendar.calendars.delete
.
- type CalendarsDeleteResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))
- calendarsDelete :: Text -> CalendarsDelete
- data CalendarsDelete
- cdCalendarId :: Lens' CalendarsDelete Text
REST Resource
type CalendarsDeleteResource = "calendar" :> ("v3" :> ("calendars" :> (Capture "calendarId" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ())))) Source
A resource alias for calendar.calendars.delete
method which the
CalendarsDelete
request conforms to.
Creating a Request
Creates a value of CalendarsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CalendarsDelete Source
Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.
See: calendarsDelete
smart constructor.
Request Lenses
cdCalendarId :: Lens' CalendarsDelete Text Source
Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.