API delete view and controller action