Api.logout¶
- logout()¶
Terminates the current session that was established through a previous call to Api.login or by passing device and session identifiers manually when the
Api()
object was created.This method executes asynchronously and returns a promise.
- Returns
For error responses, see Error Responses.