User Group Roles

Quick Navigation

GET UserGroups/{userGroupId}/SmartRules/{smartRuleId}/Roles

Returns a list of roles for the user group and Smart Rule referenced by ID.

  • User Accounts Management (Read)
  • Password Safe Role Management (Read).
  • userGroupId: ID of the user group.
  • smartRuleId: ID of the Smart Rule.

None.

Content-Type: application/json

[
    {
        RoleID : int,
        Name : string
    },
    …
]

200 – Request successful. Roles in the response body.

For more information, please see Common Response Codes.

POST UserGroups/{userGroupId}/SmartRules/{smartRuleId}/Roles

Sets Password Safe roles for the user group and Smart Rule referenced by ID.

  • User Accounts Management (Read/Write).
  • Password Safe Role Management (Read/Write).
  • userGroupId: ID of the user group.
  • smartRuleId: ID of the Smart Rule.

Content-Type: application/json

{
    Roles : 
    [
        {
            RoleID : int
        },
        …
    ],
    AccessPolicyID : int
}
  • Roles: (required) Zero or more roles to set on the UserGroup-SmartRule.
  • AccessPolicyID: The access policy ID to set on the UserGroup-SmartRule. Required when the Requestor or Requestor/Approver role is set.

None.

204 – Request successful. No content in body.

For more information, please see Common Response Codes.

DELETE UserGroups/{userGroupId}/SmartRules/{smartRuleId}/Roles

Deletes all Password Safe roles for the user group and Smart Rule referenced by ID.

  • User Accounts Management (Read/Write).
  • Password SafeRole Management (Read/Write).
  • userGroupId: ID of the user group.
  • smartRuleId: ID of the Smart Rule.

None.

None.

200 – Request successful.

For more information, please see Common Response Codes.