rest sevice to delete a farm category