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 Membership.
See: Cloud Identity API Reference for cloudidentity.groups.memberships.delete
.
Synopsis
- type GroupsMembershipsDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation)))))))
- groupsMembershipsDelete :: Text -> GroupsMembershipsDelete
- data GroupsMembershipsDelete
- gmdXgafv :: Lens' GroupsMembershipsDelete (Maybe Xgafv)
- gmdUploadProtocol :: Lens' GroupsMembershipsDelete (Maybe Text)
- gmdAccessToken :: Lens' GroupsMembershipsDelete (Maybe Text)
- gmdUploadType :: Lens' GroupsMembershipsDelete (Maybe Text)
- gmdName :: Lens' GroupsMembershipsDelete Text
- gmdCallback :: Lens' GroupsMembershipsDelete (Maybe Text)
REST Resource
type GroupsMembershipsDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Operation))))))) Source #
A resource alias for cloudidentity.groups.memberships.delete
method which the
GroupsMembershipsDelete
request conforms to.
Creating a Request
groupsMembershipsDelete Source #
Creates a value of GroupsMembershipsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GroupsMembershipsDelete Source #
Deletes a Membership.
See: groupsMembershipsDelete
smart constructor.
Instances
Request Lenses
gmdUploadProtocol :: Lens' GroupsMembershipsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
gmdAccessToken :: Lens' GroupsMembershipsDelete (Maybe Text) Source #
OAuth access token.
gmdUploadType :: Lens' GroupsMembershipsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
gmdName :: Lens' GroupsMembershipsDelete Text Source #
Resource name of the Membership to be deleted. Format: `groups/{group_id}/memberships/{member_id}`, where `group_id` is the unique ID assigned to the Group to which Membership belongs to, and member_id is the unique ID assigned to the member.
gmdCallback :: Lens' GroupsMembershipsDelete (Maybe Text) Source #
JSONP