RoleToItemApiData

The role object with settings to be set for the chosen content item.

API Section: Objects

Type: Object

Properties

Name

Description

Required

Type

Format

itemId

The system ID of the content item

Y

string

roleId

The system ID of the role

Y

string

accessType

The access settings for the role on this item. Default:Read

-

AccessType

propagateRoles

Boolean to determine whether the role settings to propagate to subordinate items. Default:false

-

boolean

*Required elements are only used for API parameters

Usages
  • /API/admin/addRolesToItem
  • /API2/content/addRoleToItem