deleteDevicesWithHttpInfo method
Delete devices.
Response is an array containing the id/rev of deleted devices.
Note: This method returns the HTTP Response
.
Parameters:
- ListOfIdsDto listOfIdsDto (required):
Implementation
Future<Response> deleteDevicesWithHttpInfo(ListOfIdsDto listOfIdsDto,) async {
// ignore: prefer_const_declarations
final path = r'/rest/v1/device/delete/batch';
// ignore: prefer_final_locals
Object? postBody = listOfIdsDto;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const authNames = <String>[r'basicSchema'];
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
authNames,
);
}