younifyd
Menu

Indexes Delete

Deletes a search index and all the documents it contains. This operation is permanent, with no recovery option. Make sure you have a master copy of your index definition, data ingestion code, and a backup of the primary data source in case you need to re-build the index.

DELETE/indexes('{indexName}')

Use it in a workflow

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

Request

Path parameters

indexNamestringrequired

The name of the index to delete.

Headers

If-Matchstring

Defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.

If-None-Matchstring

Defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.

Response

Returns 204 with a any. Read it in later steps with {{indexesDelete.response.data.<field>}}.

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

Indexes Delete — Azure AI Search — Documentation