#NEWLINE# def delete_installed_extension( extension_id ) : #NEWLINE# #INDENT# client = client_module . RestApiClient ( version = '5.0' ) #NEWLINE# url = ( 'config/extension_management/extensions/' + str ( extension_id ) ) #NEWLINE# response = client . call_api ( url , 'DELETE' ) #NEWLINE# if ( url . code == 202 ) : #NEWLINE# #INDENT# print ( 'The extension has been deleted.' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print ( 'Failed to delete the extension.' )