#NEWLINE# def purge_key( self , service , key ) : #NEWLINE# #INDENT# if ( type ( self . conn . authenticator ) is not KeyAuthenticator ) : #NEWLINE# #INDENT# raise AuthenticationError ( 'This request requires an API key' ) #NEWLINE# #UNINDENT# ( resp , data ) = self . conn . request ( 'POST' , ( '/service/%s/purge/%s' % ( service , key ) ) ) #NEWLINE# return ( resp . status == 200 )