Updating a user with a custom component using REST API

Hi;

I currently have the “users” collection type with a custom component called “gallery”

A user can upload 3 images within the gallery component, however I’m unable to update the images through REST API.

I’ve tried:
[files.gallery.image1] = “image file url”

But this doesn’t seem to work.

Thanks

Have you had any luck with this?