<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def delete_feature(self, mapobject_type_name, name):
        '''Deletes a feature.

        Parameters
        ----------
        mapobject_type_name: str
            name of the segmented objects type
        name: str
            name of the feature that should be renamed

        See also
        --------
        :func:`tmserver.api.feature.delete_feature`
        :class:`tmlib.models.feature.Feature`
        '''
        logger.info(
            'delete feature "%s" of experiment "%s", mapobject type "%s"',
            name, self.experiment_name, mapobject_type_name
        )
        feature_id = self._get_feature_id(mapobject_type_name, name)
        url = self._build_api_url(
            '/experiments/{experiment_id}/features/{feature_id}'.format(
                experiment_id=self._experiment_id, feature_id=feature_id
            )
        )
        res = self._session.delete(url)
        res.raise_for_status()