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 |
Network.Google.Resource.AndroidEnterprise.ServiceAccountkeys.Delete
Description
Removes and invalidates the specified credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount.
See: Google Play EMM API Reference for androidenterprise.serviceaccountkeys.delete
.
- type ServiceAccountkeysDeleteResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("serviceAccountKeys" :> (Capture "keyId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- serviceAccountkeysDelete :: Text -> Text -> ServiceAccountkeysDelete
- data ServiceAccountkeysDelete
- sadKeyId :: Lens' ServiceAccountkeysDelete Text
- sadEnterpriseId :: Lens' ServiceAccountkeysDelete Text
REST Resource
type ServiceAccountkeysDeleteResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("serviceAccountKeys" :> (Capture "keyId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) #
A resource alias for androidenterprise.serviceaccountkeys.delete
method which the
ServiceAccountkeysDelete
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> ServiceAccountkeysDelete |
Creates a value of ServiceAccountkeysDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ServiceAccountkeysDelete #
Removes and invalidates the specified credentials for the service account associated with this enterprise. The calling service account must have been retrieved by calling Enterprises.GetServiceAccount and must have been set as the enterprise service account by calling Enterprises.SetAccount.
See: serviceAccountkeysDelete
smart constructor.
Request Lenses
sadKeyId :: Lens' ServiceAccountkeysDelete Text #
The ID of the key.
sadEnterpriseId :: Lens' ServiceAccountkeysDelete Text #
The ID of the enterprise.