putCloseThreadWithHttpInfo method

Future<Response> putCloseThreadWithHttpInfo(
  1. String tenantId,
  2. String urlId, [
  3. String? sso
])

Performs an HTTP 'PUT /auth/my-account/moderate-comments/mod_api/close-thread' operation and returns the Response. Parameters:

Implementation

Future<Response> putCloseThreadWithHttpInfo(String tenantId, String urlId, [ String? sso ]) async {
  // ignore: prefer_const_declarations
  final path = r'/auth/my-account/moderate-comments/mod_api/close-thread';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

    queryParams.addAll(_queryParams('', 'tenantId', tenantId));
    queryParams.addAll(_queryParams('', 'urlId', urlId));
  if (sso != null) {
    queryParams.addAll(_queryParams('', 'sso', sso));
  }

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'PUT',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}