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 |
Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.
See: Gmail API Reference for gmail.users.settings.delegates.delete
.
Synopsis
- type UsersSettingsDelegatesDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("delegates" :> (Capture "delegateEmail" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- usersSettingsDelegatesDelete :: Text -> UsersSettingsDelegatesDelete
- data UsersSettingsDelegatesDelete
- usddUserId :: Lens' UsersSettingsDelegatesDelete Text
- usddDelegateEmail :: Lens' UsersSettingsDelegatesDelete Text
REST Resource
type UsersSettingsDelegatesDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("delegates" :> (Capture "delegateEmail" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for gmail.users.settings.delegates.delete
method which the
UsersSettingsDelegatesDelete
request conforms to.
Creating a Request
usersSettingsDelegatesDelete Source #
Creates a value of UsersSettingsDelegatesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersSettingsDelegatesDelete Source #
Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.
See: usersSettingsDelegatesDelete
smart constructor.
Instances
Request Lenses
usddUserId :: Lens' UsersSettingsDelegatesDelete Text Source #
User's email address. The special value "me" can be used to indicate the authenticated user.
usddDelegateEmail :: Lens' UsersSettingsDelegatesDelete Text Source #
The email address of the user to be removed as a delegate.