Skip to content

getUserContentAccess

GET
/api/v1/users/{id}/content-access
curl --request GET \
--url https://example.com/api/v1/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/content-access

Read which part of the Media library an account reaches and which tags it may apply. Requires the users.manage capability and the admin scope.

id
required
string format: uuid

Content access policy

Media typeapplication/json
object
data
required
object
policy
required
object
libraryMode
required
string
Allowed values: all restricted
tagMode
required
string
Allowed values: all restricted
folders
required
Array<object>
object
id
required
string format: uuid
name
required
string
path

Folder ancestry joined with ’ / ’.

string
tags
required
Array<object>
object
id
required
string format: uuid
name
required
string
path

Folder ancestry joined with ’ / ’.

string
configured
required

False when the account has no stored policy, which means it reaches no content until one is saved.

boolean
ownerUnrestricted
required

The account is an Owner and always reaches everything.

boolean
Example
{
"data": {
"policy": {
"libraryMode": "all",
"tagMode": "all"
}
}
}

Dashboard authentication required

Insufficient role

User not found