younifyd
Menu

Delete Documents

Remove documents, and their prices, from the search index

Use it in a workflow

  1. Add a step and choose the Search connector.
  2. Pick the Delete Documents action (under database).
  3. Fill in the fields below, then reference the result from later steps as {{deleteDocuments.response.data}}.

Fields

indexSlugstringrequired

The search index to use, by slug. Can also be a variable, e.g. {{variables.indexSlug}}.

keysstringrequired

Comma-separated document keys, or a JSON array

Examples

Remove two products

Their prices are removed too

json
{
  "indexSlug": "products",
  "keys": "p1,p2"
}

Need more? See the Search guide for connection setup and behaviour shared by every action.

Was this page helpful?