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 contact.
See: Google Mirror API Reference for mirror.contacts.delete
.
- type ContactsDeleteResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))
- contactsDelete :: Text -> ContactsDelete
- data ContactsDelete
- cdId :: Lens' ContactsDelete Text
REST Resource
type ContactsDeleteResource = "mirror" :> ("v1" :> ("contacts" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ())))) Source
A resource alias for mirror.contacts.delete
method which the
ContactsDelete
request conforms to.
Creating a Request
:: Text | |
-> ContactsDelete |
Creates a value of ContactsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContactsDelete Source
Deletes a contact.
See: contactsDelete
smart constructor.
Request Lenses
cdId :: Lens' ContactsDelete Text Source
The ID of the contact.