v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
contentPermissions

Get permissions of a content item

Returns content permissions of a content item with the given identifier.

get/v2/content/{id}/permissions

Path parameters

idstring required

The identifier of the content item.

Query parameters

explicitOnlyboolean

There are two permission types: explicit and implicit. Permissions specifically assigned to the content item are explicit. Permissions derived from a parent content item, like a folder are implicit. To return only explicit permissions set this to true.

Headers

isAdminModestring

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

Response

A list of permissions for the requested content item.

Example response

{
  "explicitPermissions": [
    {
      "sourceType": "role"
    }
  ],
  "implicitPermissions": [
    {
      "sourceType": "role"
    }
  ]
}