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 |
Deletes a filter.
See: Gmail API Reference for gmail.users.settings.filters.delete
.
Synopsis
- type UsersSettingsFiltersDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("filters" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- usersSettingsFiltersDelete :: Text -> UsersSettingsFiltersDelete
- data UsersSettingsFiltersDelete
- usfdUserId :: Lens' UsersSettingsFiltersDelete Text
- usfdId :: Lens' UsersSettingsFiltersDelete Text
REST Resource
type UsersSettingsFiltersDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("filters" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for gmail.users.settings.filters.delete
method which the
UsersSettingsFiltersDelete
request conforms to.
Creating a Request
usersSettingsFiltersDelete Source #
Creates a value of UsersSettingsFiltersDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsFiltersDelete Source #
Deletes a filter.
See: usersSettingsFiltersDelete
smart constructor.
Instances
Request Lenses
usfdUserId :: Lens' UsersSettingsFiltersDelete Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.