Deleted Items Keep Showing Up in my APP

The Catalog API is designed to retain deleted objects for auditing purposes. When you delete an object, it remains in the catalog but is marked as deleted. The “include_deleted_objects” parameter in the SearchCatalogObjects endpoint is used to include or exclude these deleted objects in the response.

In your case, you have set “include_deleted_objects” to false, which should exclude deleted objects from the response. However, if you’re still seeing deleted objects, it might be due to the use of the ‘/catalog/list’ endpoint.

Instead, try using the ‘SearchCatalogObjects’ endpoint with “include_deleted_objects” set to false. This should return only active objects and exclude any that have been deleted.

This answer was reviewed by @Bryan-Square.