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 |
Removes a survey from view in all user GET requests.
See: Consumer Surveys API Reference for consumersurveys.surveys.delete
.
Synopsis
- type SurveysDeleteResource = "consumersurveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] SurveysDeleteResponse))))
- surveysDelete :: Text -> SurveysDelete
- data SurveysDelete
- sdSurveyURLId :: Lens' SurveysDelete Text
REST Resource
type SurveysDeleteResource = "consumersurveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] SurveysDeleteResponse)))) Source #
A resource alias for consumersurveys.surveys.delete
method which the
SurveysDelete
request conforms to.
Creating a Request
Creates a value of SurveysDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SurveysDelete Source #
Removes a survey from view in all user GET requests.
See: surveysDelete
smart constructor.
Instances
Request Lenses
sdSurveyURLId :: Lens' SurveysDelete Text Source #
External URL ID for the survey.