Skip to main content
Browse Documentation
HTTP - Management

Get a role

Created by Contensis product team, last modified by s.yearsley on 25 Sep 2020

Gets a role by its Id.

GET/api/management/projects/{projectId}/security/roles/{roleId}

Parameters

NameParameter typeTypeFormatDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management consolemovieDbtrue
roleIdpathstringuuidThe role identifier.true

Example

Get a role by Id

GET: /api/management/projects/movieDb/security/roles/71f73a9b-2a13-4d63-bcc1-e8ee5047b01c

Responses

HTTP status codeReasonModel
200SuccessRole
401UnauthorizedError
403ForbiddenError
404Project not foundError
404Role not foundError
500Internal server errorError