The API endpoint for authentication.
The API token for authentication.
Optional timeout?: numberoptional timeout for the requests
A Promise that resolves to true if the session was successfully closed.
An error that occurred while processing the request.
Closes an active session.