HI, I want to add user to group by this rest api?
PUT /rest/api/user/{username}/group/{groupName}
put xxx/rest/api/user/test1/group/lead1
However, it shows 404 error.
for uri: xxx/rest/api/user/test1/group/lead1/</message>
Can you give me an example for this api?
This document has not detail information.
Thanks.
REST API for managing {@link User} to {@link Group} membership.
UpdatePUT /rest/api/user/{username}/group/{groupName}
Add the given {@link User} identified by username to the given {@link Group} identified by groupName. This method is idempotent i.e. if the membership already exists then no action will be taken.