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 a previously generated token (activation code) for the user.
See: Google Play EMM API Reference for androidenterprise.users.revokeToken
.
Synopsis
- type UsersRevokeTokenResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("token" :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))
- usersRevokeToken :: Text -> Text -> UsersRevokeToken
- data UsersRevokeToken
- urtEnterpriseId :: Lens' UsersRevokeToken Text
- urtUserId :: Lens' UsersRevokeToken Text
REST Resource
type UsersRevokeTokenResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("token" :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))) Source #
A resource alias for androidenterprise.users.revokeToken
method which the
UsersRevokeToken
request conforms to.
Creating a Request
Creates a value of UsersRevokeToken
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersRevokeToken Source #
Revokes a previously generated token (activation code) for the user.
See: usersRevokeToken
smart constructor.
Instances
Request Lenses
urtEnterpriseId :: Lens' UsersRevokeToken Text Source #
The ID of the enterprise.