Remove Rules

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

curl -X DELETE -H "Content-Type: application/json" \
-u"[your token]:" \
"[your index key]&section=Products"

The above command returns a 204 Success response on success.

HTTP Requests#

DELETE[collection_id]?key=[your index key]&section=[section]

URL Parameters#

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).