aiMentorOrgsUsersSessionsDestroy method

Future<void> aiMentorOrgsUsersSessionsDestroy(
  1. String org,
  2. String sessionId,
  3. String userId
)

Mixin that includes the StudentTokenAuthentication and IsAdminUserOrStudent

Parameters:

Implementation

Future<void> aiMentorOrgsUsersSessionsDestroy(String org, String sessionId, String userId,) async {
  final response = await aiMentorOrgsUsersSessionsDestroyWithHttpInfo(org, sessionId, userId,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}