code: 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;
  	}
docs: Use this API to clear configuration on netscaler.
  @param force clear confirmation without prompting.
  @param level clear config according to the level. eg: basic, extended, full
  @return status of the operation performed.
  @throws Exception Nitro exception is thrown.