code: def remove_group(self, groupname):
          
          # implementation based on
          # https://docs.atlassian.com/jira/REST/ondemand/#d2e5173
          url = self._options['server'] + '/rest/api/latest/group'
          x = {'groupname': groupname}
          self._session.delete(url, params=x)
          return True
docs: Delete a group from the JIRA instance.
  
          :param groupname: The group to be deleted from the JIRA instance.
          :type groupname: str
          :return: Boolean. Returns True on success.
          :rtype: bool