permissions
Get v2 permissions
Retrieve permissions for the ‘subjectType’ ‘subjectId’
GET
Path Parameters
The target subject type
Available options:
pages
, workspaces
The target subject id (i.e workspaceId if subjectType is 'workspace')
Response
200
application/json
Success Response
Example:
[
{
"target": { "id": "userId1" },
"permissions": { "role": "admin" }
},
{
"target": { "id": "userId2" },
"permissions": { "policies": { "read": true } }
},
{
"target": { "public": true },
"permissions": { "policies": { "read": true } }
}
]
Was this page helpful?