deleteSessionById method
Deleted a session by it's unique id.
correlation_id
(optional) transaction id to trace execution through call chain.sessionId
an id of the session to be deleted Return Future that receives deleted session Throws error.
Implementation
@override
Future<SessionV1> deleteSessionById(
String? correlationId, String sessionId) async {
var timing = instrument(correlationId, 'sessions.delete_session_by_id');
var session = await controller.deleteSessionById(correlationId, sessionId);
timing.endTiming();
return session;
}