v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1446252177.2 KB

Deletes an OpenSearch Serverless collection. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html">Creating and managing Amazon OpenSearch Serverless collections</a>.

post/#X-Amz-Target=OpenSearchServerless.DeleteCollection

Headers

X-Amz-Target'OpenSearchServerless.DeleteCollection' required

Request body

idstring required

The unique identifier of the collection. For example, <code>1iu5usc406kd</code>. The ID is part of the collection endpoint. You can also retrieve it using the <a href="https://docs.aws.amazon.com/opensearch-service/latest/ServerlessAPIReference/API_ListCollections.html">ListCollections</a> API.

clientTokenstring

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

Response

Success