terminate method
Implementation
Future<void> terminate(int id, {required Object authorization}) async {
final response = await terminateWithHttpInfo(
id,
authorization: authorization,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}