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 |
Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed.
See: Google Play EMM API Reference for androidenterprise.installs.delete
.
Synopsis
- type InstallsDeleteResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("devices" :> (Capture "deviceId" Text :> ("installs" :> (Capture "installId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))))
- installsDelete :: Text -> Text -> Text -> Text -> InstallsDelete
- data InstallsDelete
- idEnterpriseId :: Lens' InstallsDelete Text
- idUserId :: Lens' InstallsDelete Text
- idInstallId :: Lens' InstallsDelete Text
- idDeviceId :: Lens' InstallsDelete Text
REST Resource
type InstallsDeleteResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("devices" :> (Capture "deviceId" Text :> ("installs" :> (Capture "installId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))))) Source #
A resource alias for androidenterprise.installs.delete
method which the
InstallsDelete
request conforms to.
Creating a Request
Creates a value of InstallsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InstallsDelete Source #
Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed.
See: installsDelete
smart constructor.
Instances
Request Lenses
idEnterpriseId :: Lens' InstallsDelete Text Source #
The ID of the enterprise.
idInstallId :: Lens' InstallsDelete Text Source #
The ID of the product represented by the install, e.g. "app:com.google.android.gm".
idDeviceId :: Lens' InstallsDelete Text Source #
The Android ID of the device.