code: public static base_response disable(nitro_service client, String trapname) throws Exception {
  		snmpalarm disableresource = new snmpalarm();
  		disableresource.trapname = trapname;
  		return disableresource.perform_operation(client,"disable");
  	}
docs: Use this API to disable snmpalarm of given name.