I dont know if i'm wrong about your quention, but I think 2 possibilities can do what you want.
1. Soft delete: this will change the status of the entity to "removed: true" and then this entity will not appear on frontend but you can still get metadata from you persistence storage (like MySQL or PostgreSQL).
2. You can change or create access policies based on entity types and specific resources. With that, you can "hide" them from everyone you want.