Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Delete an item and retrieve all items from an Azure Cosmos DB
// Delete item
const deleteResponse = await container.item(newItemId).delete();
// Read all items from the container
const docResponse = await container.items.readAll().toArray();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment