Outline the Interview Details
When canceling an interview, it is also crucial that you include both of these pieces of information; failing to do so may cause confusion and delay within the HR department. By including your job title and your scheduled day/time for the meeting, you help ensure that all affected departments and personnel know that you cannot attend your proposed interview. It is common courtesy and necessary if you want your cancellation request to be processed quickly without further complications.
When canceling an interview, it is important to apologize for any inconvenience caused and to express your understanding of the interviewer's time. This can help maintain a positive relationship with the interviewer.
"I am sorry for canceling the interview and any inconvenience that it might have caused. I understand the interviewer must have taken time to talk to me, and I appreciate their effort. I sincerely apologize for wasting your time and any other resources that were utilized in anticipation of my attendance.
More info: What is Active Network Monitoring