Skip to main content

Set role permissions

PATCH 

/roles/:roleId/permissions

Set permissions for a role within a scope. Overwrites existing assignments if any.

Request

Path Parameters

    roleId stringrequired

Body

    scope

    object

    organizationId stringnullable
    projectId stringnullable
    resourcePath stringnullable
    resourceType stringnullable
    viewerSceneId stringnullable
    permissionIds string[]nullable

Responses

Success

Schema

    roleId stringnullable

    scope

    object

    organizationId stringnullable
    projectId stringnullable
    resourcePath stringnullable
    resourceType stringnullable
    viewerSceneId stringnullable
    isOrgLevel boolean
    permissionIds string[]nullable
Loading...