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 an enrollment token. This operation invalidates the token, preventing its future use.
See: Android Management API Reference for androidmanagement.enterprises.enrollmentTokens.delete
.
Synopsis
- type EnterprisesEnrollmentTokensDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- enterprisesEnrollmentTokensDelete :: Text -> EnterprisesEnrollmentTokensDelete
- data EnterprisesEnrollmentTokensDelete
- eetdXgafv :: Lens' EnterprisesEnrollmentTokensDelete (Maybe Xgafv)
- eetdUploadProtocol :: Lens' EnterprisesEnrollmentTokensDelete (Maybe Text)
- eetdAccessToken :: Lens' EnterprisesEnrollmentTokensDelete (Maybe Text)
- eetdUploadType :: Lens' EnterprisesEnrollmentTokensDelete (Maybe Text)
- eetdName :: Lens' EnterprisesEnrollmentTokensDelete Text
- eetdCallback :: Lens' EnterprisesEnrollmentTokensDelete (Maybe Text)
REST Resource
type EnterprisesEnrollmentTokensDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (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.enrollmentTokens.delete
method which the
EnterprisesEnrollmentTokensDelete
request conforms to.
Creating a Request
enterprisesEnrollmentTokensDelete Source #
Creates a value of EnterprisesEnrollmentTokensDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EnterprisesEnrollmentTokensDelete Source #
Deletes an enrollment token. This operation invalidates the token, preventing its future use.
See: enterprisesEnrollmentTokensDelete
smart constructor.
Instances
Request Lenses
eetdUploadProtocol :: Lens' EnterprisesEnrollmentTokensDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
eetdAccessToken :: Lens' EnterprisesEnrollmentTokensDelete (Maybe Text) Source #
OAuth access token.
eetdUploadType :: Lens' EnterprisesEnrollmentTokensDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").