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 device. This operation wipes the device.
See: Android Management API Reference for androidmanagement.enterprises.devices.delete
.
Synopsis
- type EnterprisesDevicesDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParams "wipeDataFlags" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))
- enterprisesDevicesDelete :: Text -> EnterprisesDevicesDelete
- data EnterprisesDevicesDelete
- eddXgafv :: Lens' EnterprisesDevicesDelete (Maybe Xgafv)
- eddWipeDataFlags :: Lens' EnterprisesDevicesDelete [Text]
- eddUploadProtocol :: Lens' EnterprisesDevicesDelete (Maybe Text)
- eddAccessToken :: Lens' EnterprisesDevicesDelete (Maybe Text)
- eddUploadType :: Lens' EnterprisesDevicesDelete (Maybe Text)
- eddName :: Lens' EnterprisesDevicesDelete Text
- eddCallback :: Lens' EnterprisesDevicesDelete (Maybe Text)
REST Resource
type EnterprisesDevicesDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParams "wipeDataFlags" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))) Source #
A resource alias for androidmanagement.enterprises.devices.delete
method which the
EnterprisesDevicesDelete
request conforms to.
Creating a Request
enterprisesDevicesDelete Source #
Creates a value of EnterprisesDevicesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesDevicesDelete Source #
Deletes a device. This operation wipes the device.
See: enterprisesDevicesDelete
smart constructor.
Instances
Request Lenses
eddWipeDataFlags :: Lens' EnterprisesDevicesDelete [Text] Source #
Optional flags that control the device wiping behavior.
eddUploadProtocol :: Lens' EnterprisesDevicesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
eddAccessToken :: Lens' EnterprisesDevicesDelete (Maybe Text) Source #
OAuth access token.
eddUploadType :: Lens' EnterprisesDevicesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
eddName :: Lens' EnterprisesDevicesDelete Text Source #
The name of the device in the form enterprises/{enterpriseId}/devices/{deviceId}.
eddCallback :: Lens' EnterprisesDevicesDelete (Maybe Text) Source #
JSONP