removeItems

Remove CMS items by their ID.

await collection.removeItems([item1.id, item5.id])

Parameters

  • itemIds: string[] – The IDs of the items to remove.

Returns

  • Promise<void>