docs: def registerDirs(self,json_dirs):
          """
          Registers multiple new server directories.
          Inputs:
              json_dirs - Array of Server Directories in JSON format.
          """
          url = self._url + "/directories/registerDirs"
          params = {
              "f" : "json",
              "directories" : json_dirs
          }
  
          res = self._post(url=url,
                           param_dict=params,
                           securityHandler=self._securityHandler,
                           proxy_url=self._proxy_url,
                           proxy_port=self._proxy_port)
  
          return res