#NEWLINE# def remove_users( self , user_ids , nid = None ) : #NEWLINE# #INDENT# 'Remove users from a network `nid`\n\n        :type  user_ids: list of str\n        :param user_ids: a list of user ids. These are the same\n            ids that are returned by get_all_users.\n        :type  nid: str\n        :param nid: This is the ID of the network to remove students\n            from. This is optional and only to override the existing\n            `network_id` entered when created the class\n        :returns: Python object containing returned data, a list\n            of dicts of user data of all of the users remaining in\n            the network after users are removed.\n        ' #NEWLINE# r = self . request ( method = 'network.update' , data = { #NEWLINE# #INDENT# 'remove_users' : user_ids , #NEWLINE# #UNINDENT# } , nid = nid , nid_key = 'id' ) #NEWLINE# return self . _handle_error ( r , 'Could not remove users.' )