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 the specified forwarding address and revokes any verification that may have been required. This method is only available to service account clients that have been delegated domain-wide authority.
See: Gmail API Reference for gmail.users.settings.forwardingAddresses.delete
.
Synopsis
- type UsersSettingsForwardingAddressesDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("forwardingAddresses" :> (Capture "forwardingEmail" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- usersSettingsForwardingAddressesDelete :: Text -> UsersSettingsForwardingAddressesDelete
- data UsersSettingsForwardingAddressesDelete
- usfadForwardingEmail :: Lens' UsersSettingsForwardingAddressesDelete Text
- usfadUserId :: Lens' UsersSettingsForwardingAddressesDelete Text
REST Resource
type UsersSettingsForwardingAddressesDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("forwardingAddresses" :> (Capture "forwardingEmail" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for gmail.users.settings.forwardingAddresses.delete
method which the
UsersSettingsForwardingAddressesDelete
request conforms to.
Creating a Request
usersSettingsForwardingAddressesDelete Source #
Creates a value of UsersSettingsForwardingAddressesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsForwardingAddressesDelete Source #
Deletes the specified forwarding address and revokes any verification that may have been required. This method is only available to service account clients that have been delegated domain-wide authority.
See: usersSettingsForwardingAddressesDelete
smart constructor.
Instances
Request Lenses
usfadForwardingEmail :: Lens' UsersSettingsForwardingAddressesDelete Text Source #
The forwarding address to be deleted.
usfadUserId :: Lens' UsersSettingsForwardingAddressesDelete Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.