Get all assigned roles for project
GET/roles/projects/:projectOrViewersceneId
Require admin rights
Request
Path Parameters
projectOrViewersceneId stringrequired
Query Parameters
includeExpiredAssignments boolean
Default value:
false
Responses
- 200
- 401
- 403
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
identity stringnullable
identityType stringnullable
name stringnullable
roles
object[]
nullable
id stringnullable
name stringnullable
description stringnullable
scope
object
organizationId stringnullable
projectId stringnullable
resourcePath stringnullable
resourceType stringnullable
viewerSceneId stringnullable
isOrgLevel boolean
expirationTime date-timenullable
[
{
"identity": "string",
"identityType": "string",
"name": "string",
"roles": [
{
"id": "string",
"name": "string",
"description": "string",
"scope": {
"organizationId": "string",
"projectId": "string",
"resourcePath": "string",
"resourceType": "string",
"viewerSceneId": "string",
"isOrgLevel": true
},
"expirationTime": "2024-07-29T15:51:28.071Z"
}
]
}
]
Unauthorized
Forbidden
Not Found
Server Error
Loading...