// Download the Node helper library from twilio.com/docs/node/install
// These identifiers are your accountSid and authToken from
// https://www.twilio.com/console
// To set up environmental variables, see http://twil.io/secure
const accountSid = process.env.TWILIO_ACCOUNT_SID;
const authToken = process.env.TWILIO_AUTH_TOKEN;
const client = require('twilio')(accountSid, authToken);

const feedbackSummarySid = 'FSa346467ca321c71dbd5e12f627deb854';

client.calls
  .feedbackSummaries(feedbackSummarySid)
  .remove()
  .then(result => {
    console.log(`Sid ${feedbackSummarySid} deleted successfully.`);
  })
  .catch(err => console.log(err));
