Update a survey limit maximum response count
Overview
This endpoint updates the limit maximum response count for a specific survey.
Authentication
This request requires an Authorization header with a valid token.
URL: POST https://api3.blocksurvey.io/v1/survey/limit_maximum_response_count
Body Parameters
Parameter
Type
Optional
Description
surveyId
String
No
The ID of the survey.
limitMaximumResponseCountFlag
Boolean
No
Flag to set the limit maximum response count (true/false).
limitMaximumResponseCount
Number
No
The limit maximum response count.
teamId
String
Yes
The team ID.
Here's the JSON body data:
{
"surveyId": "123456",
"teamId": "1234",
"limitMaximumResponseCountFlag": true,
"limitMaximumResponseCount": 100
}
cURL Example
curl --request POST \
--url 'https://api3.blocksurvey.io/v1/survey/limit_maximum_response_count' \
--header 'Authorization: Bearer user_api_token' \
--header 'Content-Type: application/json' \
--data '{
"surveyId": "YOUR_SURVEY_ID",
"limitMaximumResponseCountFlag": true/false,
"limitMaximumResponseCount": NUMBER,
"teamId": "YOUR_TEAM_ID"
}'
Remember to replace YOUR_SURVEY_ID
, NUMBER
, and YOUR_TEAM_ID
with actual values when testing or using this API endpoint. The limitMaximumResponseCountFlag
should be either true
or false
.
Response
Successful Response
{
"status": "success",
"message": "Survey limit maximum response count updated successfully."
}
Last updated