'Deletes an existing extra spec.'

def delete(self, req, type_id, id):

    context = req.environ['cinder.context']
    self._check_type(context, type_id)
    authorize(context, action='delete')
    self._allow_update(context, type_id)
    db.volume_type_extra_specs_delete(context, type_id, id)
    volume_type = volume_types.get_volume_type(context, type_id)
    notifier_info = dict(type_id=type_id, id=id, created_at=volume_type['created_at'], updated_at=volume_type['updated_at'], deleted_at=volume_type['deleted_at'])
    notifier = rpc.get_notifier('volumeTypeExtraSpecs')
    notifier.info(context, 'volume_type_extra_specs.delete', notifier_info)
    return webob.Response(status_int=http_client.ACCEPTED)
