Append to an json Array object

Hi, I would like to know how to push or append to an array indexed in algolia, I have this object in a index :

array: [{
id: 123123,
name: ‘Juan D’}]

and I would like to push to the array a new user:

array: [
{
id: 123123,
name: ‘Juan D’
},
{
id: 123,
name: ‘Diego’
},

]

But I haven’t found a way without retrieving the entire object and update back, but is not optimal response and way, any comment?

thanks