How to update/remove file in zoho creator widgets using javascript API

How to update/remove file in zoho creator widgets using javascript API

Hi Team,

I have developed a widget which allows inserting and updating records
I have file upload field with multiple file upload. Now while doing insert form record, I am using uploadFile API to upload files for that record.

I am using updateRecord API for updating form record. But I want to remove any images while updating the record then how can I do that?

I don't see remove file javascript API for widgets. Is there any workaround to handle this?

Thanks & Regards,
Payal