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 label and removes it from any messages and threads that it is applied to.
See: Gmail API Reference for gmail.users.labels.delete
.
Synopsis
- type UsersLabelsDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- usersLabelsDelete :: Text -> UsersLabelsDelete
- data UsersLabelsDelete
- uldUserId :: Lens' UsersLabelsDelete Text
- uldId :: Lens' UsersLabelsDelete Text
REST Resource
type UsersLabelsDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for gmail.users.labels.delete
method which the
UsersLabelsDelete
request conforms to.
Creating a Request
Creates a value of UsersLabelsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersLabelsDelete Source #
Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.
See: usersLabelsDelete
smart constructor.