WidgetKit remove existing posted timelines

Hi

Our application is a session based application. So until the user has not been authenticated on the main app, depending on the group container UserDefaults, we are passing zero timelines and the reload policy as .never.

But once user authenticates on the main application, we are setting session enabled in group container user defaults and issuing a reloadTimelines call. As our application is related to banking and wallets, so we are passing transactions related data to these timeline entries. But if user decides to logout, our due to some reason if a re-authentication is required, then how do we remove the already passed timelines.

Currently WidgetCenter doesn't have any API's regarding this. Can we get any information on this issue of removing the timeline entries. Any future plans on this? Maybe something line removing entries of a kind.
WidgetKit remove existing posted timelines
 
 
Q