HTTP - Management
Removed from your favourites
Get permissions for a resource
Created by j.moore, last modified by r.saunders on 12 Feb 2021
Gets a permission set for the requested user and resource. Requesting a permission set returns the positive permission values assigned to the user for all roles the user is assigned to (either directly or via a group).
GET/api/management/projects/{projectId}/security/permissions/{resourceType}/{resourceId?}?userId={userId}&language={language}
Parameters
Name | Parameter type | Type | Format | Description | Example | Required |
---|---|---|---|---|---|---|
projectId | path | string | The project identifier found in the project overview screen of the management console | movieDb | true | |
resourceType | path | string | The type of resource to retrieve permissions for. Permitted values are: entries, assets, webhookSubscriptions, proxies, eventStreams. | true | ||
resourceId | path | string | Optional id of the resource to retrieve permissions for. | false | ||
userId | query | string | The id of the user to retrieve permissions for. | true | ||
language | query | string | language | The specified language for the node. If no value is provided then the project primary language is used | false |
Example
HTTP
GET: /api/management/projects/movieDb/security/permissions/entries/a65a9d9d-ee64-4c25-a80c-ab5aee00fb9d?userId=a.user