Skip to main content

Calculate roles with access to scope

POST 

/roles/roles-with-access

Calculate the list of roles that have access to a specific scope

Request

Body

    organizationId stringnullable
    projectId stringnullable
    resourcePath stringnullable
    resourceType stringnullable
    viewerSceneId stringnullable

Responses

Success

Schema

  • Array [

  • permission

    object

    id stringnullable
    name stringnullable
    description stringnullable
    children undefined[]nullable
    childrenIds string[]nullable
    isRootOnly boolean
    isReadOnlyPermission boolean

    roleAssignmentInfo

    object[]

    nullable

  • Array [

  • role

    object

    id stringnullable
    name stringnullable
    description stringnullable
    isFrozenForChanges boolean
    isOrganizationRole boolean

    scope

    object

    organizationId stringnullable
    projectId stringnullable
    resourcePath stringnullable
    resourceType stringnullable
    viewerSceneId stringnullable
    isOrgLevel boolean
    type PermissionType (string)

    Possible values: [Direct, Inherited]

    scope

    object

    organizationId stringnullable
    projectId stringnullable
    resourcePath stringnullable
    resourceType stringnullable
    viewerSceneId stringnullable
    isOrgLevel boolean
  • ]

  • ]

Loading...