deleteBrandImageWithHttpInfo method

Future<Response> deleteBrandImageWithHttpInfo()

Delete current brand image

Deletes the previously uploaded brand image. Returns 404 if no brand image has been uploaded. ##### Permissions Must have manage_system permission. Minimum server version: 5.6

Note: This method returns the HTTP Response.

Implementation

Future<Response> deleteBrandImageWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/brand/image';

  // ignore: prefer_final_locals
  Object? postBody;

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

  const contentTypes = <String>[];

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