userConfig = clusterAccessor.readUserConfig();
removeKeysFromUserConfig(userConfig, keys);
clusterAccessor.setUserConfig(userConfig);
break;
case RESOURCE:
ResourceAccessor resourceAccessor = resourceAccessor(clusterName);
ResourceId resourceId = ResourceId.from(scopeArgs[1]);
userConfig = resourceAccessor.readUserConfig(resourceId);
removeKeysFromUserConfig(userConfig, keys);
resourceAccessor.setUserConfig(resourceId, userConfig);
break;
case PARTICIPANT:
ParticipantAccessor participantAccessor = participantAccessor(clusterName);
ParticipantId participantId = ParticipantId.from(scopeArgs[1]);
userConfig = participantAccessor.readUserConfig(participantId);
removeKeysFromUserConfig(userConfig, keys);
participantAccessor.setUserConfig(participantId, userConfig);
break;
case PARTITION:
ResourceAccessor resourcePartitionAccessor = resourceAccessor(clusterName);
PartitionId partitionId = PartitionId.from(scopeArgs[1]);
userConfig = resourcePartitionAccessor.readUserConfig(partitionId.getResourceId());
removePartitionFromResourceUserConfig(userConfig, partitionId, keys);
resourcePartitionAccessor.setUserConfig(partitionId.getResourceId(), userConfig);
break;
}
}