code: def delete_folder(self, project, path):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if path is not None:
              route_values['path'] = self._serialize.url('path', path, 'str')
          self._send(http_method='DELETE',
                     location_id='a906531b-d2da-4f55-bda7-f3e676cc50d9',
                     version='5.0-preview.2',
                     route_values=route_values)
docs: DeleteFolder.
          [Preview API] Deletes a definition folder. Definitions and their corresponding builds will also be deleted.
          :param str project: Project ID or project name
          :param str path: The full path to the folder.