setRamAccountPolicy method

Future<Map<String, dynamic>> setRamAccountPolicy(
  1. String accountId,
  2. String policy
)

Implementation

Future<Map<String, dynamic>> setRamAccountPolicy(
  String accountId,
  String policy, // JSON string of RamAccountPolicy
) async {
  return _client.post('/api/lapp/ram/policy/set', {
    'accountId': accountId,
    'policy': policy,
  });
}