Skip to main content
Browse Documentation
HTTP - Management

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

NameParameter typeTypeDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
resourceTypepathstringThe type of resource to retrieve permissions for. Permitted values are: entries, assets, webhookSubscriptions, proxies, eventStreams.true
userIdquerystringThe id of the user to retrieve permissions for.true

Example

GET: /api/management/projects/movieDb/security/permissions/webhookSubscriptions/?userId=a.user

Responses

HTTP status codeReasonModel
200Success
404Entry not foundError
500Internal server errorError