gogol-gmail-0.0.1: Google Gmail SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Gmail.Users.Labels.Delete

Contents

Description

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

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

usersLabelsDelete Source

Arguments

:: Text

uldId

-> 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.