How do you remove the user's profile image?

I uploaded the user’s profile image using profile_file. This automatically generated and populated profile_url.

My question is how do you remove the user’s profile image? Passing an empty string in profile_url works, but the file is actually still on Sendbird’s server (pasting the url in a browser still loads the photo). However, this is not ideal as I assume the file still counts against our storage limit.

Is there a way to reset profile_file and actually delete the file?

Hi @HTC - thanks for reaching out to Sendbird!
Let me internalize it, will get back to you with the updates.

Currently, there is not API to physically delete the image. However, the image is not longer accessible once the link has expired.