revokeToken method
Revoke a token
Permanently revokes a token. It cannot be undone. This action also immediately invalidates all sessions using the given token.
Parameters:
Implementation
Future<void> revokeToken(String account, String token,) async {
final response = await revokeTokenWithHttpInfo(account, token,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}