def set_explore_grouping_hierarchy(self, new_hierarchy):
body = {<EOL>'<STR_LIT:id>': '<STR_LIT>',<EOL>'<STR_LIT>': [{'<STR_LIT>': []}]<EOL>}<EOL>for item in new_hierarchy:<EOL><INDENT>body['<STR_LIT>'][<NUM_LIT:0>]['<STR_LIT>'].append({'<STR_LIT>': item})<EOL><DEDENT>res = requests.put(self.url + '<STR_LIT>', headers=self.hdrs,<EOL>data=json.dumps(body), verify=self.ssl_verify)<EOL>if not self._checkResponse(res):<EOL><INDENT>return [False, self.lasterr]<EOL><DEDENT>else:<EOL><INDENT>return [True, None]<EOL><DEDENT>
**Description**
            Changes the grouping hierarchy in the Explore panel of the current user.

        **Arguments**
            - **new_hierarchy**: a list of sysdig segmentation metrics indicating the new grouping hierarchy.