deleteDeviceWithHttpInfo method
Delete device
Deletes one device
Note: This method returns the HTTP Response
.
Parameters:
- String id (required):
Implementation
Future<Response> deleteDeviceWithHttpInfo(
String id,
) async {
// ignore: prefer_const_declarations
final path = r'/video/devices';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'id', id));
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}