logOut logs out of the current session.

logOut(coreApi, useVerbose = FALSE)

Arguments

coreApi

coreApi object returned during log in

useVerbose

use verbose option for debuggin in http POST

Value

returns list with $success = TRUE when sucessful, $response contains the entire http response

Details

logOut logs user out of the Core API

Examples

# NOT RUN {
api<-CoreAPIV::coreAPI("PATH TO JSON FILE")
response<- CoreAPIV::authBasic(api)
logOut <- CoreAPIV::logOut(response$coreApi,useVerbose=TRUE )
# }