List role assignments for current user
GET/roles/assignments/current-user
List all role assignments for current user. organization id and project id are optional
Request
Query Parameters
organizationId string
projectId string
viewerSceneId string
includeExpiredAssignments boolean
Default value:
false
Responses
- 200
- 401
- 404
- 500
Success
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
]
id stringnullable
name stringnullable
description stringnullable
isFrozenForChanges boolean
isOrganizationRole boolean
scope
object
organizationId stringnullable
projectId stringnullable
resourcePath stringnullable
resourceType stringnullable
viewerSceneId stringnullable
isOrgLevel boolean
[
{
"id": "string",
"name": "string",
"description": "string",
"isFrozenForChanges": true,
"isOrganizationRole": true,
"scope": {
"organizationId": "string",
"projectId": "string",
"resourcePath": "string",
"resourceType": "string",
"viewerSceneId": "string",
"isOrgLevel": true
}
}
]
- Schema
- Example (from schema)
Schema
Array [
]
id stringnullable
name stringnullable
description stringnullable
isFrozenForChanges boolean
isOrganizationRole boolean
scope
object
organizationId stringnullable
projectId stringnullable
resourcePath stringnullable
resourceType stringnullable
viewerSceneId stringnullable
isOrgLevel boolean
[
{
"id": "string",
"name": "string",
"description": "string",
"isFrozenForChanges": true,
"isOrganizationRole": true,
"scope": {
"organizationId": "string",
"projectId": "string",
"resourcePath": "string",
"resourceType": "string",
"viewerSceneId": "string",
"isOrgLevel": true
}
}
]
- Schema
- Example (from schema)
Schema
Array [
]
id stringnullable
name stringnullable
description stringnullable
isFrozenForChanges boolean
isOrganizationRole boolean
scope
object
organizationId stringnullable
projectId stringnullable
resourcePath stringnullable
resourceType stringnullable
viewerSceneId stringnullable
isOrgLevel boolean
[
{
"id": "string",
"name": "string",
"description": "string",
"isFrozenForChanges": true,
"isOrganizationRole": true,
"scope": {
"organizationId": "string",
"projectId": "string",
"resourcePath": "string",
"resourceType": "string",
"viewerSceneId": "string",
"isOrgLevel": true
}
}
]
Unauthorized
Not Found
Server Error
Loading...