Azure Cosmos DB (SDK)

Interact with Azure Cosmos DB using the official SDK (supports vector search and hybrid queries)

Delete Container

AI-generated

Summary

Delete a container from an Azure Cosmos DB database.

Inputs

  • main (required) — Input items (not consumed for this operation; used for execution context)

Output shape

json

Returned on successful container deletion; error thrown if container not found (404).

Examples

Example 1: Delete a container by name from a selected database.

authenticationType=masterKey, databaseForContainerDelete=list 'my-db', containerToDelete=list 'my-container'

Links

Discussion