Function: logout()
function logout(cluster: string): Promise<void>
Logs out the user by clearing the authentication token for the specified cluster.
Parameters
Parameter | Type | Description |
---|---|---|
cluster | string | The name of the cluster to log out from. |
Returns
Promise
<void
>
Throws
When logout request fails