opsgenie-sdk-revived
Version:
Reviving the opsgenie-sdk, Giving Node.js access to the OpsGenie Web API
17 lines (14 loc) • 388 B
JavaScript
const opsgenie = require('../..');
require('../configure');
const delete_rule_identifier = {
identifier: '7b55b16e-3de7-44b1-8c04-31e5966a7a31',
identifierType: 'id',
};
opsgenie.forwardingV2.delete(delete_rule_identifier, (error, result) => {
if (error) {
console.error(error);
} else {
console.log('Delete Forwarding Rule Response:');
console.log(result);
}
});