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 |
Remove a alias for the user
See: Admin Directory API Reference for directory.users.aliases.delete
.
Synopsis
- type UsersAliasesDeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("aliases" :> (Capture "alias" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- usersAliasesDelete :: Text -> Text -> UsersAliasesDelete
- data UsersAliasesDelete
- uadAlias :: Lens' UsersAliasesDelete Text
- uadUserKey :: Lens' UsersAliasesDelete Text
REST Resource
type UsersAliasesDeleteResource = "admin" :> ("directory" :> ("v1" :> ("users" :> (Capture "userKey" Text :> ("aliases" :> (Capture "alias" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for directory.users.aliases.delete
method which the
UsersAliasesDelete
request conforms to.
Creating a Request
Creates a value of UsersAliasesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersAliasesDelete Source #
Remove a alias for the user
See: usersAliasesDelete
smart constructor.
Instances
Request Lenses
uadUserKey :: Lens' UsersAliasesDelete Text Source #
Email or immutable ID of the user