def METHOD_NAME(self, date=None, job_id=None):
    kwargs = locals()
    config_data, dsl_data = preprocess(**kwargs)
    if config_data.get('date'):
        config_data['model'] = config_data.pop('date')
    return self._post(url='tracking/component/metric/delete', json=config_data)