Get role permissions
GET/roles/:roleId/permissions
Retrieve permissions assigned to a role within a scope
Request
Path Parameters
roleId stringrequired
Query Parameters
organization string
project string
Responses
- 200
- 400
- 401
- 403
- 500
Success
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
]
roleId stringnullable
scope
object
organizationId stringnullable
projectId stringnullable
resourcePath stringnullable
resourceType stringnullable
viewerSceneId stringnullable
isOrgLevel boolean
permissionIds string[]nullable
[
{
"roleId": "string",
"scope": {
"organizationId": "string",
"projectId": "string",
"resourcePath": "string",
"resourceType": "string",
"viewerSceneId": "string",
"isOrgLevel": true
},
"permissionIds": [
"string"
]
}
]
- Schema
- Example (from schema)
Schema
Array [
]
roleId stringnullable
scope
object
organizationId stringnullable
projectId stringnullable
resourcePath stringnullable
resourceType stringnullable
viewerSceneId stringnullable
isOrgLevel boolean
permissionIds string[]nullable
[
{
"roleId": "string",
"scope": {
"organizationId": "string",
"projectId": "string",
"resourcePath": "string",
"resourceType": "string",
"viewerSceneId": "string",
"isOrgLevel": true
},
"permissionIds": [
"string"
]
}
]
- Schema
- Example (from schema)
Schema
Array [
]
roleId stringnullable
scope
object
organizationId stringnullable
projectId stringnullable
resourcePath stringnullable
resourceType stringnullable
viewerSceneId stringnullable
isOrgLevel boolean
permissionIds string[]nullable
[
{
"roleId": "string",
"scope": {
"organizationId": "string",
"projectId": "string",
"resourcePath": "string",
"resourceType": "string",
"viewerSceneId": "string",
"isOrgLevel": true
},
"permissionIds": [
"string"
]
}
]
Bad Request
Unauthorized
Forbidden
Server Error
Loading...