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 an experiment.
See: Google Analytics API Reference for analytics.management.experiments.delete
.
Synopsis
- type ManagementExperimentsDeleteResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (Capture "experimentId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))))))))
- managementExperimentsDelete :: Text -> Text -> Text -> Text -> ManagementExperimentsDelete
- data ManagementExperimentsDelete
- medWebPropertyId :: Lens' ManagementExperimentsDelete Text
- medProFileId :: Lens' ManagementExperimentsDelete Text
- medAccountId :: Lens' ManagementExperimentsDelete Text
- medExperimentId :: Lens' ManagementExperimentsDelete Text
REST Resource
type ManagementExperimentsDeleteResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("experiments" :> (Capture "experimentId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))))))) Source #
A resource alias for analytics.management.experiments.delete
method which the
ManagementExperimentsDelete
request conforms to.
Creating a Request
managementExperimentsDelete Source #
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> ManagementExperimentsDelete |
Creates a value of ManagementExperimentsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementExperimentsDelete Source #
Delete an experiment.
See: managementExperimentsDelete
smart constructor.
Instances
Request Lenses
medWebPropertyId :: Lens' ManagementExperimentsDelete Text Source #
Web property ID to which the experiment belongs
medProFileId :: Lens' ManagementExperimentsDelete Text Source #
View (Profile) ID to which the experiment belongs
medAccountId :: Lens' ManagementExperimentsDelete Text Source #
Account ID to which the experiment belongs
medExperimentId :: Lens' ManagementExperimentsDelete Text Source #
ID of the experiment to delete