Copyright | (c) 2015-2016 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 |
Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash instead.
See: Gmail API Reference for gmail.users.messages.delete
.
Synopsis
- type UsersMessagesDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("messages" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- usersMessagesDelete :: Text -> UsersMessagesDelete
- data UsersMessagesDelete
- umdUserId :: Lens' UsersMessagesDelete Text
- umdId :: Lens' UsersMessagesDelete Text
REST Resource
type UsersMessagesDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("messages" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for gmail.users.messages.delete
method which the
UsersMessagesDelete
request conforms to.
Creating a Request
Creates a value of UsersMessagesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersMessagesDelete Source #
Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash instead.
See: usersMessagesDelete
smart constructor.