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: Surveys API Reference for surveys.surveys.delete
.
Synopsis
- type SurveysDeleteResource = "surveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] SurveysDeleteResponse))))
- surveysDelete :: Text -> SurveysDelete
- data SurveysDelete
- sdSurveyURLId :: Lens' SurveysDelete Text
REST Resource
type SurveysDeleteResource = "surveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] SurveysDeleteResponse)))) Source #
A resource alias for surveys.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.