public base_response clear_config ( Boolean force , String level ) throws Exception { base_response result = null ; nsconfig resource = new nsconfig ( ) ; if ( force ) resource . set_force ( force ) ; resource . set_level ( level ) ; options option = new options ( ) ; option . set_action ( "clear" ) ; result = resource . perform_operation ( this , option ) ; return result ; }
Use this API to clear configuration on netscaler .