Page tree
Skip to end of metadata
Go to start of metadata

You can update security settings of a content item with the updateContentItemPermissions method.

Parameters

ParameterTypeDescription
credentials (required)credentialsRead the description of the Credentials object.
contentItemId(required)stringID of the content item, which security settings you want to update.
privacy (required)stringPublic or private
isViewedOnce(optional)boolTrue, if a given private content item can be viewed only once.
users (optional)string[]An array of user IDs, who are allowed to view a given private content item.
groups (optional)string[]An array of group IDs, which members are allowed to view a given private content item.

 

Return Value

After the request has been completed, the system returns an object with the following properties:

ParameterTypeDescription
successboolTrue, if security settings of a given content item have been updated.

 

Sample Call

Sample Response

  •