| 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 |
Network.Google.Resource.AndroidEnterprise.Entitlements.Delete
Description
Removes an entitlement to an app for a user.
See: Google Play EMM API Reference for androidenterprise.entitlements.delete.
Synopsis
- type EntitlementsDeleteResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("entitlements" :> (Capture "entitlementId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))
- entitlementsDelete :: Text -> Text -> Text -> EntitlementsDelete
- data EntitlementsDelete
- edEntitlementId :: Lens' EntitlementsDelete Text
- edEnterpriseId :: Lens' EntitlementsDelete Text
- edUserId :: Lens' EntitlementsDelete Text
REST Resource
type EntitlementsDeleteResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("entitlements" :> (Capture "entitlementId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))) Source #
A resource alias for androidenterprise.entitlements.delete method which the
EntitlementsDelete request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> EntitlementsDelete |
Creates a value of EntitlementsDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EntitlementsDelete Source #
Removes an entitlement to an app for a user.
See: entitlementsDelete smart constructor.
Instances
Request Lenses
edEntitlementId :: Lens' EntitlementsDelete Text Source #
The ID of the entitlement (a product ID), e.g. "app:com.google.android.gm".
edEnterpriseId :: Lens' EntitlementsDelete Text Source #
The ID of the enterprise.