Deletes the experiment.

        See also
        --------
        :func:`tmserver.api.experiment.delete_experiment`
        :class:`tmlib.models.experiment.ExperimentReference`
        :class:`tmlib.models.experiment.Experiment`

def delete_experiment(self):
        '''Deletes the experiment.

        See also
        --------
        :func:`tmserver.api.experiment.delete_experiment`
        :class:`tmlib.models.experiment.ExperimentReference`
        :class:`tmlib.models.experiment.Experiment`
        '''
        logger.info('delete experiment "%s"', self.experiment_name)
        url = self._build_api_url(
            '/experiments/{experiment_id}'.format(
                experiment_id=self._experiment_id
            )
        )
        res = self._session.delete(url)
        res.raise_for_status()
        del self.__experiment_id