def assign_members(self, sync=False):
from canvasapi.user import User<EOL>from canvasapi.progress import Progress<EOL>if sync:<EOL><INDENT>return PaginatedList(<EOL>User,<EOL>self._requester,<EOL>'<STR_LIT:POST>',<EOL>'<STR_LIT>'.format(self.id)<EOL>)<EOL><DEDENT>else:<EOL><INDENT>response = self._requester.request(<EOL>'<STR_LIT:POST>',<EOL>'<STR_LIT>'.format(self.id)<EOL>)<EOL>return Progress(self._requester, response.json())<EOL><DEDENT>
Assign unassigned members.

:calls: `POST /api/v1/group_categories/:group_category_id/assign_unassigned_members \
<https://canvas.instructure.com/doc/api/group_categories.html#method.group_categories.assign_unassigned_members>`_

:rtype: :class:`canvasapi.paginated_list.PaginatedList` of :class:`canvasapi.user.User`
    or :class:`canvasapi.progress.Progress`