disconnectLicenseWithHttpInfo method
Future<Response>
disconnectLicenseWithHttpInfo(
- String id,
- GatewayDisconnectLicenseRequestBody gatewayDisconnectLicenseRequestBody
Disconnect a license from a gateway
Note: This method returns the HTTP Response.
Parameters:
-
String id (required): Path param: id
-
GatewayDisconnectLicenseRequestBody GatewayDisconnectLicenseRequestBody (required):
Implementation
Future<Response> disconnectLicenseWithHttpInfo(
String id,
GatewayDisconnectLicenseRequestBody gatewayDisconnectLicenseRequestBody,
) async {
// ignore: prefer_const_declarations
final path = r'/ga/gateways/disconnect/{id}'.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody = gatewayDisconnectLicenseRequestBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}