Delete quota

Delete Quota

Delete a specified segmented quota from a survey.

Note: The Quotas object is designed for use with Segmented Quotas only. To manage an Overall Quota, use the Survey Object with the options[overall_quota] parameter.

Endpoint

DELETE /v5/survey/{survey_id}/quotas/{quota_id}

Authentication is required for all requests. See Authentication.

Path Parameters

survey_id
integer
required
The ID of the survey that contains the quota.
quota_id
integer
required
The ID of the quota to delete.

Query Parameters

None

Response

result_ok
boolean
Returns true if the quota was deleted successfully.

Examples

Request
curl -X DELETE "https://api.alchemer.com/v5/survey/123456/quotas/1?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET"
Response
{
  "result_ok": true
}