endpoint to delete card resource