code: public static base_response disable(nitro_service client, nsmode resource) throws Exception {
  		nsmode disableresource = new nsmode();
  		disableresource.mode = resource.mode;
  		return disableresource.perform_operation(client,"disable");
  	}
docs: Use this API to disable nsmode.