Remove Rules

curl -X DELETE -H "Content-Type: application/json" \
-u"[your token]:" \
"https://ac.cnstrc.com/v1/searchandized_queries/leashes?key=[your API key]&section=Products"
curl -X DELETE -H "Content-Type: application/json" \
-u"[your token]:" \
"https://ac.cnstrc.com/v1/searchandized_queries/leashes/position/1?key=[your API key]&section=Products"
curl -X DELETE -H "Content-Type: application/json" \
-u"[your token]:" \
"https://ac.cnstrc.com/v1/searchandized_queries/leashes/item/not_the_coolest_dog_leash_id?key=[your API key]&section=Products"
info

The above command returns a 204 Success response on success.

HTTP Requests#

DELETE https://ac.cnstrc.com/v1/searchandized_queries/[query]?key=[your API key]&section=[section]

DELETE https://ac.cnstrc.com/v1/searchandized_queries/[query]/position/[int:position]?key=[your API key]&section=[section]

DELETE https://ac.cnstrc.com/v1/searchandized_queries/[query]/item/[id]?key=[your API key]&section=[section]

URL Parameters#

ParameterDescription
queryThe query you'd like to delete searchandizing rules from.
positionThe searchandized result you'd like removed from the query in question.
idThe id for the item you'd like removed from the query in question.

Query Parameters#

ParameterRequired?Description
keyYesThe index you'd like to remove searchandizing rules from.
sectionYesThe index section you'd like to remove searchandizing rules from.