Remove a Rule

curl -X DELETE -H "Content-Type: application/json" \
-u"[your token]:" \
"https://ac.cnstrc.com/refined_strategies?key=[your index key]&section=Products&strategy_name=complementary_items&item_id=fiddos_dog_toy"
info

The above command returns a 204 Success response on success.

HTTP Requests#

DELETE https://ac.cnstrc.com/refined_strategies?key=[your index key]&section=[section]&strategy_name=[strategy_name]&item_id=[item_id]

Query Parameters#

ParameterDescription
strategy_nameThe name of the strategy you'd like to remove searchandizing rules from.
item_idThe item_id condition you'd like to remove searchandizing rules from.
sectionThe index section where this rule is applied to. (typically Products).