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 |
Revokes access to all devices currently provisioned to the user. The user will no longer be able to use the managed Play store on any of their managed devices. This call only works with EMM-managed accounts.
See: Google Play EMM API Reference for androidenterprise.users.revokeDeviceAccess
.
Synopsis
- type UsersRevokeDeviceAccessResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("deviceAccess" :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- usersRevokeDeviceAccess :: Text -> Text -> UsersRevokeDeviceAccess
- data UsersRevokeDeviceAccess
- urdaEnterpriseId :: Lens' UsersRevokeDeviceAccess Text
- urdaUserId :: Lens' UsersRevokeDeviceAccess Text
REST Resource
type UsersRevokeDeviceAccessResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("deviceAccess" :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for androidenterprise.users.revokeDeviceAccess
method which the
UsersRevokeDeviceAccess
request conforms to.
Creating a Request
usersRevokeDeviceAccess Source #
Creates a value of UsersRevokeDeviceAccess
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersRevokeDeviceAccess Source #
Revokes access to all devices currently provisioned to the user. The user will no longer be able to use the managed Play store on any of their managed devices. This call only works with EMM-managed accounts.
See: usersRevokeDeviceAccess
smart constructor.
Instances
Request Lenses
urdaEnterpriseId :: Lens' UsersRevokeDeviceAccess Text Source #
The ID of the enterprise.
urdaUserId :: Lens' UsersRevokeDeviceAccess Text Source #
The ID of the user.