Best practices on maintaining data consistency in Strapi

I am currently not using an updated Strapi Environment.

You can check out this documentation:

For your problem:
Create beforeDelete-Hook & beforeDeleteMany-Hook and console.log your deleted User here. (regarding User → there most likely is a differentation between collectionType-Lifecycle-Hooks and User, you might need to check this also)