Media files from s3 will be removed when delete content?

System Information
  • Strapi Version: 4.10.1
  • Operating System: Ubuntu22.04
  • Database: Postgresql
  • Node Version: v16.19.1
  • NPM Version: 8.19.3
  • Yarn Version: 1.22.10

When delete content via backend api or admin panel, all of media files related with that content will be removed too? or kept?

Your media items will remain unless specifically deleted in the media library.

Hope that helps!