addDomainWildcardCatchAllWithHttpInfo method

Future<Response> addDomainWildcardCatchAllWithHttpInfo(
  1. String id
)

Add catch all wild card inbox to domain

Add a catch all inbox to a domain so that any emails sent to it that cannot be matched will be sent to the catch all inbox generated

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> addDomainWildcardCatchAllWithHttpInfo(String id,) async {
  // ignore: prefer_const_declarations
  final path = r'/domains/{id}/wildcard'
    .replaceAll('{id}', id);

  // ignore: prefer_final_locals
  Object? postBody;

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

  const contentTypes = <String>[];


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