The links.remove() method removes a link from the JavaScript Scheduler component and updates the view.
DayPilot.Scheduler.links.remove(link)link - DayPilot.Link object, raw data object, or link ID to remove
const link = scheduler.links.find("link-1");
if (link) {
scheduler.links.remove(link);
}DayPilot.Scheduler.links.find()
Links API [doc.daypilot.org]