How can a user delete a photo uploaded for an account avatar?

As in the title. In the “new app” account view, I can only enable or disable the avatar element, and in the actual UI when I click the avatar element I can only upload a new photo. How can I (or a user) delete an avatar photo, not uploading anything else?

Hi Bartosz,

At the moment, there isn’t a way to fully delete an avatar once it’s been uploaded. The avatar element doesn’t support an empty state, so users can only replace the existing image with another one.

If you don’t want users to have an avatar at all, you can disable the avatar element in the account view.

If you want users to “remove” their photo and show a default look instead, the only workaround right now is to upload a placeholder image as the avatar.

Hi David, thanks for the info. I also realized that the photo URL is stored in the DB after upload, so another approach would probably be to provide an API call that allows to clear that DB entry for a given user.