t to delete this cable? This action cannot be undone.')) {
            return;
        }
        
        fetch(`/api/v1/cables/${cableId}`, {
            method: 'DELETE',
            headers: {
                'Content-Type': 'application/json'
            }
        })
        .then(response => {
            if (response.ok) {
                alert('Cable deleted successfully');
                window.location.reload();
            } else {
                throw new Error('Failed to delete cable');
      