in okta/UserGroupsClient.py [0:0]
def update_group_by_id(self, gid, group):
"""Update a group, defined by an id
:param gid: the target group id
:type gid: str
:param group: the data to update the target group
:type group: UserGroup
:rtype: UserGroup
"""
response = ApiClient.put_path(self, '/{0}'.format(gid), group)
return Utils.deserialize(response.text, UserGroup)