Skip to main content

Assign a list of roles to one identity. Replaces existing assignments if any.

PATCH 

/roles/assignments

Assigns (replaces) roles to a user identity within an optional organization or project context

Request

Body

    identity stringnullable
    roleIds string[]nullable

    scope

    object

    organizationId stringnullable
    projectId stringnullable
    resourcePath stringnullable
    resourceType stringnullable
    viewerSceneId stringnullable
    identityType stringnullable
    identityName stringnullable
    expirationTime date-timenullable

Responses

Success

Schema

  • Array [

  • roleId stringnullable
    identityId stringnullable

    scope

    object

    organizationId stringnullable
    projectId stringnullable
    resourcePath stringnullable
    resourceType stringnullable
    viewerSceneId stringnullable
    isOrgLevel boolean
    identityName stringnullable
    identityType stringnullable
    expirationTime date-timenullable
    expired boolean
  • ]

Loading...