This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Description
I'm attempting to delete a contact given the id. I can get the id via the hubspot.contacts.getByEmail(email), it get's registered on the HubSpot's website call-log. The delete method doesn't seem to even hit the call-log. Is this deprecated?
const HubSpot = require('hubspot');
deleteContactById: function (apikey, id) {
let hubspot = new HubSpot({ apiKey: apikey });
browser.call(() => {
hubspot.contacts.delete(id)
.then(response => console.log(response));
});
return;
}