# איך אני מוחק את קובץ אווטאר המשתמש?

**URL:** <https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321>\
**Category:** Product Support\
**Created:** [3 באפריל,‏ 2021,‏ 4:00am UTC](https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321 "2021-04-03T04:00:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![snakeninny](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/snakeninny/32/115522_2.png) [@snakeninny](https://meta.discourse.org/u/snakeninny)\
**Post date:** [3 באפריל,‏ 2021,‏ 4:00am UTC](https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321/1 "2021-04-03T04:00:26Z")

</div>

Hi team,

My [website](https://iosre.com) is hosted in China and as you know all Chinese websites need to register for a license from the government, hence all Chinese websites are under supervision.

Someone recently reported to my CDN service provider, Qiniu, which is also a CN company, that some images on my website are illegal. My CDN provider informed me that I should delete these images and ‘refresh URL caches’, or they can suspend my account according to law. But I found these images were user avatars, which I don’t know how to delete.

According to [How to Delete Uploaded Files? - #3 by codinghorror](https://meta.discourse.org/t/how-to-delete-uploaded-files/25001/3) and [How to Delete Uploaded Files? - #25 by Falco](https://meta.discourse.org/t/how-to-delete-uploaded-files/25001/25) uploaded images w/o references will be auto deleted in 48 hours. I have replaced these user avatars with the default letter ones, but nothing seems to be happening to the old user avatars after 72 hours, maybe it’s because user avatars are not considered uploaded images?

Any ideas on how can I delete the user avatar files completely on my server?

Thanks in advance,  
Yinglu

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-delete-the-file-of-user-avatar/185321)._
