Hi all!
Using a stac-fastapi (pg) I found the following. If the item with the same id is present in the database(in my case item with id LC08_L2SP_202025_20210714_02_T1 being present both in landsat-c2-l2 and landsat-8-c2-l2 collection) the item can't be deleted
from any of the collections.
Opening the database I can see the following.
I am attaching screenshots below:


My best guess would be that the delete SQL statement needs to be filtered with the collection id.
Thanks!
Ivica