Remove Rules

To remove all searchandizing rules from collection, use the DELETE method.

curl -X DELETE -H "Content-Type: application/json" \
-u"[your token]:" \
"https://ac.cnstrc.com/v1/refined_collections/cat%20playthings?key=[your index key]&section=Products"
info

The above command returns a 204 Success response on success.

HTTP Requests#

DELETE https://ac.cnstrc.com/v1/refined_collections/[collection_id]?key=[your index key]&section=[section]

URL Parameters#

ParameterDescription
collection_idThe id of the collection you'd like to remove searchandizing rules from.
sectionYesThe index section you'd like to retrieve results from (typically Products).