PUT /v2/content/{id}/permissions/add

Add permissions to a content item with the given identifier.

Servers

Path parameters

Name Type Required Description
id String Yes

The identifier of the content item.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

isAdminMode String No

Set this to "true" if you want to perform the request as a Content Administrator.

Request body fields

Name Type Required Description
notifyRecipients Boolean Yes

Set this to "true" to notify the users who had a permission update.

notificationMessage String Yes

The notification message sent to the users who had a permission update.

contentPermissionAssignments[] Array Yes

Content permissions to be updated.

contentPermissionAssignments[].contentId String Yes

Unique identifier for the content item.

contentPermissionAssignments[].permissionName String Yes

Content permission name. Valid values are: View, GrantView, Edit, GrantEdit, Manage, and GrantManage.

contentPermissionAssignments[].sourceType String Yes

Type of source for the permission. Valid values are: user, role, and org.

contentPermissionAssignments[].sourceId String Yes

An identifier that belongs to the source type chosen above. For e.g. if the sourceType is set to "user", sourceId should be identifier of a user (same goes for role and org sourceType)

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.