suspendLicenseWithHttpInfo method
Suspend a license
Action to temporarily suspend (ban) a license. This will cause the license to fail validation until reinstated. To permanently revoke a license, see the revoke action.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> suspendLicenseWithHttpInfo(String account, String license,) async {
// ignore: prefer_const_declarations
final path = r'/accounts/{account}/licenses/{license}/actions/suspend'
.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,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}