lib/newrelic-management/client.rb
def alert_delete_entity(entity_id, condition_id, entity_type = 'Server')
      nr_api.delete do |req|
        req.url url('alerts_entity_conditions', entity_id)
        req.params['entity_type'] = entity_type
        req.params['condition_id'] = condition_id
      end
    end
def alert_delete_entity(entity_id, condition_id, entity_type = 'Server')
      nr_api.delete do |req|
        req.url url('alerts_entity_conditions', entity_id)
        req.params['entity_type'] = entity_type
        req.params['condition_id'] = condition_id
      end
    end
def alert_delete_entity ( entity_id , condition_id , entity_type = 'Server' ) nr_api . delete do | req | req . url url ( 'alerts_entity_conditions' , entity_id ) req . params [ 'entity_type' ] = entity_type req . params [ 'condition_id' ] = condition_id end end
=> Delete an Entitity from an Existing Alert Policy
= > Delete an Entitity from an Existing Alert Policy