How to destroy session in CouchBaseLite in Swift

Hi

I am using both authentication Server side and basic auth

and also find valid cookie

if let res = response.response?.allHeaderFields[“Set-Cookie”] {
print(res)
let cookie = String(describing:res).components(separatedBy:";")[0].components(separatedBy: “=”)[1]
print(“cookie -------” + cookie)
}