Skip to main content

deleteCollectionItems

Deletes all items belonging to a Collection by Collection.id.

If contentIds input is provided, the deleted items will be limited to items with matching content IDs.

deleteCollectionItems(
collectionId: UUID!
contentIds: DeleteCollectionItemsContentIds
): DeletedItemsCount!

Arguments​

deleteCollectionItems.collectionId ● UUID! non-null scalar references​

deleteCollectionItems.contentIds ● DeleteCollectionItemsContentIds input references​

Type​

DeletedItemsCount object references​

Represents number of items deleted by a mutation.