v4

latestOpenAPI 3.1.02026-08-01166346466.7 KB
stores

Delete a specific rule from rules array

Delete a specific rule from within a search rule's rules array.

Args: store_identifier: The ID or name of the store rule_id: The ID of the search rule containing the rule to delete rule_delete: The specific rule to delete from the rules array

Returns: SearchRuleSpecificDeleted: Details about the deletion operation

delete/v1/stores/{store_identifier}/rules/{rule_id}/specific

Path parameters

string required
OR
string uuid required

The ID or name of the store

rule_idstring uuid required

The ID of the search rule

The ID of the search rule

Request body

Example request

{
  "rule": {
    "substitution": "query1"
  }
}

Response

The updated search rule after deleting specific rule

idstring required

The search rule ID

object'search_rule'

The object type

remaining_rulesinteger required

Number of rules remaining in the array

Example response

{
  "deleted_rule": {
    "substitution": "query1"
  }
}