Delete Items from NoSQL TableAdmin Scope

Note: Ensure you have installed the required package to use this SDK method.

Using the deleteItems() SDK method, to delete items from a NoSQL table. You can refer to the required item using the primary keys of the table. For example, you use just the partition key, or a combination of the partition key and sort key of the table, to identify an item.

Note: Catalyst enables you to delete a maximum of 25 items in bulk from a NoSQL table with a single SDK operation.

In the following code snippet, the required item from the NoSQL table is being referred to using its partition key fruit whose value matches “apple”.

copy
// Delete a NoSQL item from the table with partition key "fruit" and the value matching "apple"
const deletedItems = await table.deleteItems({
  // Specify the partition key value of the item to be deleted
  keys: NoSQLItem.from({ fruit: 'apple' })
});

Last Updated 2026-07-02 14:51:41 +0530 IST