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 |
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
.
- type UsersLabelsDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))))
- usersLabelsDelete :: Text -> 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
:: Text | |
-> Text | |
-> UsersLabelsDelete |
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.
Request Lenses
uldUserId :: Lens' UsersLabelsDelete Text Source
The user's email address. The special value me can be used to indicate the authenticated user.
uldId :: Lens' UsersLabelsDelete Text Source
The ID of the label to delete.