#NEWLINE# def uninstall( self , channels ) : #NEWLINE# #INDENT# chan_num = len ( channels ) #NEWLINE# if ( self > 200 ) : #NEWLINE# #INDENT# raise ValueError ( 'Maximum of 200 channel uninstalls exceeded. ({0} channels)' . format ( chan_num ) ) #NEWLINE# #UNINDENT# body = json . dumps ( channels ) #NEWLINE# response = self . _airship . _request ( 'POST' , body , self . url , version = 3 ) #NEWLINE# logger . info ( 'Successfully uninstalled {0} channels' . format ( chan_num ) ) #NEWLINE# return response