Let’s say we have a simple relationships GROUPS to-many USERS
According to documentation, this relationship should be managed using the following url:
I can guest (but I’m not sure and I couldn’t find documentation about it) that if i wish to delete an user from a group I should use an
HTTP DELETE on /groups/:id_group/users/:id_user
Is this true?
But what about adding a new user to the same group? I guest I should use an HTTP PATCH, but what is the right data content? Can some one provide an example?
Thanks in advance, Claudio