Skip to content

Delete Collection Group

opensearchserviceserverless_delete_collection_group R Documentation

Deletes a collection group

Description

Deletes a collection group. You can only delete empty collection groups that contain no collections. For more information, see Creating and managing Amazon OpenSearch Serverless collections.

Usage

opensearchserviceserverless_delete_collection_group(id, clientToken)

Arguments

id

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

clientToken

Unique, case-sensitive identifier to ensure idempotency of the request.

Value

An empty list.

Request syntax

svc$delete_collection_group(
  id = "string",
  clientToken = "string"
)