Add role to a content Item

{ addRoleToItem }

Adds a role to a content item

Method

/API2/content/addRoleToItem
  • API Section: /API2/content
  • API Version: 2.0
  • From Release: 2018.5
  • Can be used by Enterprise Admin users only
  • REST API only via POST actions.
  • Input Parameters

    Name

    roleToItemApiData

    Object Type

    Description

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

    Output Response

    Successful Result Code

    200

    Response Type

    Description of Response Type

    Generic API response object with success or failure flag and related messages.

    Notes

    Specify the settings for the role for the item through the object

    Examples