deleteExport method

Future<void> deleteExport(
  1. String exportName
)

Delete an export file

Deletes an export file. Minimum server version: 5.33 ##### Permissions Must have manage_system permissions.

Parameters:

  • String exportName (required): The name of the export file to delete

Implementation

Future<void> deleteExport(
  String exportName,
) async {
  final response = await deleteExportWithHttpInfo(
    exportName,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}