Permanently remove a criteria set from your account. Once deleted, the criteria set ID can no longer be referenced in searches.
Endpoint
DELETE /v1/discovery/products/criteria-sets/{criteria_set_id}
Requires an x-api-key header for authentication.
Path Parameters
The criteria set identifier to delete.
Example Request
curl -X DELETE https://rewardsbot-prod.liquidrewardsapi.com/v1/discovery/products/criteria-sets/summer-sale \
-H "x-api-key: YOUR_API_KEY"
Response
Returns HTTP 204 No Content on success. The response body is empty.
Deleting a criteria set is permanent and cannot be undone. Any searches referencing this criteria set ID will no longer have those filters applied.
Error Responses
| Status | Description |
|---|
403 Forbidden | Missing or invalid API key. |
422 Unprocessable Entity | Validation error in the path parameter. |
503 Service Unavailable | Criteria set storage not configured. |