removeRecord
cddnss.removeRecord
Removes the DNS record by the given record name.
Parameters:
recordNameThe name of the DNS record that should get deleted.[string]
Returns:
[Promise<void>]
cddnss.removeRecord(record.name)
.then(() => {
console.log(`${record.name} was sucessfully removed!`);
});Last updated
Was this helpful?