How To Remove Unwanted Data Like CreatedAt, UpdatedAt, CreatedBy from the API response

Checkout json - strapi version 4 flatten complex response structure - Stack Overflow