disconnectLicense method
Future<void>
disconnectLicense(
- String id,
- GatewayDisconnectLicenseRequestBody gatewayDisconnectLicenseRequestBody
Disconnect a license from a gateway
Parameters:
-
String id (required): Path param: id
-
GatewayDisconnectLicenseRequestBody GatewayDisconnectLicenseRequestBody (required):
Implementation
Future<void> disconnectLicense(
String id,
GatewayDisconnectLicenseRequestBody gatewayDisconnectLicenseRequestBody,
) async {
final response = await disconnectLicenseWithHttpInfo(
id,
gatewayDisconnectLicenseRequestBody,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}