Hi,
I am using below API to create a Console operator, But i am not getting any idea how i update the roles in that operator. I have created one of the role and wanted to add that test user in that role with rest API, Any help
<BESAPI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BESAPI.xsd">
<Operator Resource="https://localhost:52311/api/operator/sample-operator">
<Name>test</Name>
<Password>Password</Password>
<MasterOperator>false</MasterOperator>
<CustomContent>true</CustomContent>
<ShowOtherActions>false</ShowOtherActions>
<CanCreateActions>true</CanCreateActions>
<PostActionBehaviorPrivilege>AllowRestartAndShutdown</PostActionBehaviorPrivilege>
<ActionScriptCommandsPrivilege>AllowRestartAndShutdown</ActionScriptCommandsPrivilege>
<CanLock>true</CanLock>
<CanSendMultipleRefresh>true</CanSendMultipleRefresh>
<LoginPermission>Unrestricted</LoginPermission>
<UnmanagedAssetPrivilege>ShowAll</UnmanagedAssetPrivilege>
<InterfaceLogins>
<Console>true</Console>
<WebUI>true</WebUI>
<API>true</API>
</InterfaceLogins>
<ComputerAssignments Match="Any"></ComputerAssignments>
</Operator>
</BESAPI>