deleteLicenseWithHttpInfo method
Delete a license
Permanently deletes a license. It cannot be undone. This action also immediately deletes any machines that the license is associated with.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> deleteLicenseWithHttpInfo(String account, String license,) async {
// ignore: prefer_const_declarations
final path = r'/accounts/{account}/licenses/{license}'
.replaceAll('{account}', account)
.replaceAll('{license}', license);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
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,
);
}