PUT https://api.surveyjs.io/private/Surveys/setUseCookies/{id}?accessKey={accessKey}&useCookies={useCookies}
Enables or disables cookies for a published survey. Cookies help ensure that respondents pass the survey only once.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accessKey |
Your private access key.
|
string |
Required
|
id |
A survey ID.
|
globally unique identifier |
Required
|
useCookies |
Pass true to enable cookies for the survey or false to disable them.
|
boolean |
Required
|
Response Information
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.