Add and remove related data to/from User

Hello everyone,

please help me with the following issue. I couldn’t find proper article about this.
I updated User collection type and added relation “User has many Products”. Products is a collection type.
How can I update User through REST api to add or remove Product to/from User?

You can fulfil the requirement by creating custom Query Api in strapi.

Can you give concrete example?

read this instruction.

if doesn’t worked, update your strapi CMS. (for me, it solved by migrating from v4.3.4 to v4.19.0)