delete course resource.