HTTP - Management
Removed from your favourites
Get permissions for a resource type
Created by zengenti, last updated 13 Jul 2021
Gets a permission set for the requested user and resource type. 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}/?userId={userId}
Parameters
Name | Parameter type | Type | 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 | |
userId | query | string | The id of the user to retrieve permissions for. | true |
Example
HTTP
GET: /api/management/projects/movieDb/security/permissions/webhookSubscriptions/?userId=a.user