removeSuppressionWithHttpInfo method

Future<Response> removeSuppressionWithHttpInfo(
  1. RemoveSuppressionRequest removeSuppressionRequest
)

Remove suppression entries

Remove emails or domains from the suppression list.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> removeSuppressionWithHttpInfo(RemoveSuppressionRequest removeSuppressionRequest,) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/suppression';

  // ignore: prefer_final_locals
  Object? postBody = removeSuppressionRequest;

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

  const contentTypes = <String>['application/json'];


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