Skip to content

Delete Index

opensearchserviceserverless_delete_index R Documentation

Deletes an index from an OpenSearch Serverless collection

Description

Deletes an index from an OpenSearch Serverless collection. Be aware that the index might be configured to conduct automatic semantic enrichment ingestion and search. For more information, see About automatic semantic enrichment.

Usage

opensearchserviceserverless_delete_index(id, indexName)

Arguments

id

[required] The unique identifier of the collection containing the index to delete.

indexName

[required] The name of the index to delete.

Value

An empty list.

Request syntax

svc$delete_index(
  id = "string",
  indexName = "string"
)