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 membership.
See: Admin Directory API Reference for directory.members.delete
.
Synopsis
- type MembersDeleteResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (Capture "groupKey" Text :> ("members" :> (Capture "memberKey" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- membersDelete :: Text -> Text -> MembersDelete
- data MembersDelete
- mdMemberKey :: Lens' MembersDelete Text
- mdGroupKey :: Lens' MembersDelete Text
REST Resource
type MembersDeleteResource = "admin" :> ("directory" :> ("v1" :> ("groups" :> (Capture "groupKey" Text :> ("members" :> (Capture "memberKey" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for directory.members.delete
method which the
MembersDelete
request conforms to.
Creating a Request
Creates a value of MembersDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MembersDelete Source #
Remove membership.
See: membersDelete
smart constructor.
Instances
Request Lenses
mdMemberKey :: Lens' MembersDelete Text Source #
Email or immutable ID of the member
mdGroupKey :: Lens' MembersDelete Text Source #
Email or immutable ID of the group