DelCnameByKey static method
Implementation
static Future<OperationResponse> DelCnameByKey(String value) async {
String jwt = await getJWT();
final channel = await Channel.getDefaultIoTManagerChannel();
final stub = CnameManagerClient(channel,
options: CallOptions(metadata: {'jwt': jwt}));
StringValue stringValue = StringValue();
stringValue.value = value;
OperationResponse operationResponse = await stub.delCnameByKey(stringValue);
print('DelCnameByKey: ${operationResponse}');
channel.shutdown();
return operationResponse;
}