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 |
Delete Mobile Device
See: Admin Directory API Reference for directory.mobiledevices.delete
.
Synopsis
- type MobileDevicesDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("mobile" :> (Capture "resourceId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))
- mobileDevicesDelete :: Text -> Text -> MobileDevicesDelete
- data MobileDevicesDelete
- mddResourceId :: Lens' MobileDevicesDelete Text
- mddCustomerId :: Lens' MobileDevicesDelete Text
REST Resource
type MobileDevicesDeleteResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("mobile" :> (Capture "resourceId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))) Source #
A resource alias for directory.mobiledevices.delete
method which the
MobileDevicesDelete
request conforms to.
Creating a Request
Creates a value of MobileDevicesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MobileDevicesDelete Source #
Delete Mobile Device
See: mobileDevicesDelete
smart constructor.
Instances
Request Lenses
mddResourceId :: Lens' MobileDevicesDelete Text Source #
Immutable ID of Mobile Device
mddCustomerId :: Lens' MobileDevicesDelete Text Source #
Immutable ID of the G Suite account