deleteMaintenanceTaskWithHttpInfo method
Delete maintenanceTasks
Note: This method returns the HTTP Response
.
Parameters:
- String maintenanceTaskIds (required):
Implementation
Future<Response> deleteMaintenanceTaskWithHttpInfo(String maintenanceTaskIds) async {
final path = r'/rest/v1/maintenancetask/{maintenanceTaskIds}'
.replaceAll('{' + 'maintenanceTaskIds' + '}', maintenanceTaskIds.toString());
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
final contentTypes = <String>[];
final nullableContentType = contentTypes.isNotEmpty ? contentTypes[0] : null;
final authNames = <String>[r'basicSchema'];
return await apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
nullableContentType,
authNames,
);
}