Role
Request: URL is all that is required.
Response: XML file listing of Roles.
Response Schema: BESAPI.xsd
Request: XML for the role.
Response Schema: BESAPI.xsd
Request Schema: BESAPI.xsd
Request: URL is all that is required
Response Schema: BESAPI.xsd
Request: Partial or complete XML for the role.
For example:
<?xml version="1.0" encoding="UTF-8"?>
<BESAPI xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BESAPI.xsd">
<Role Resource="https://localhost:52311/api/role/63">
<Name>rhelroleduplicate</Name>
<ID>63</ID>
<MasterOperator>0</MasterOperator>
<CustomContent>1</CustomContent>
<ShowOtherActions>1</ShowOtherActions>
<StopOtherActions>0</StopOtherActions>
<CanCreateActions>1</CanCreateActions>
<PostActionBehaviorPrivilege>AllowRestartAndShutdown</PostActionBehaviorPrivilege>
<ActionScriptCommandsPrivilege>AllowRestartAndShutdown</ActionScriptCommandsPrivilege>
<CanSendMultipleRefresh>1</CanSendMultipleRefresh>
<CanLock>1</CanLock>
<UnmanagedAssetPrivilege>ShowNone</UnmanagedAssetPrivilege>
<InterfaceLogins>
<Console>true</Console>
<WebUI>true</WebUI>
<API>true</API>
</InterfaceLogins>
</Role>
</BESAPI>
Request Schema: BESAPI.xsd
Request: XML describing the role.
Request Schema: BESAPI.xsd
Request: URL is all that is required.
In a BigFix Distributed Server Architecture (DSA) environment, where multiple servers are installed, you can perform actions related to roles only on primary servers. When on a secondary server, you cannot create, modify, or delete roles. Any attempt to perform these actions is prevented and you get the following error message:
"This operation requires a role change that can be performed only on the main server."