put https://{server}/api/v2.1/groups//
Use this request to rename, and/or change owner of a group.
In the request body, both parameters are optional. Only use the ones that you need to update:
owner
is the new owner of the group, include the user's ID here. If you don't want to change the owner, remove this parameter because if you enter the current owner's ID here, you'll get an error "User xxx is already group owner".name
is the new name of your group. If you don't want to change the name, remove shi parameter because if you enter the current group name here you'll get an error "There is already a group with that name".