Interface: GovernanceAssignRoleRequest
@kortexya/reasoninglayer / GovernanceAssignRoleRequest
Interface: GovernanceAssignRoleRequest
Section titled “Interface: GovernanceAssignRoleRequest”Defined in: src/types/governance.ts:111
POST /api/v1/governance/role-assignments body.
Remarks
Section titled “Remarks”SDK schema keys are camelCase; native wire keys are snake_case.
Properties
Section titled “Properties”actorSubject
Section titled “actorSubject”actorSubject:
string
Defined in: src/types/governance.ts:114
The assignee, user:<uuid> or service_account:<uuid> (record 30
§3.5).
changeReason
Section titled “changeReason”changeReason:
string
Defined in: src/types/governance.ts:116
Why.
displayName?
Section titled “displayName?”
optionaldisplayName?:string|null
Defined in: src/types/governance.ts:118
The assignee actor’s display name, recorded when its actor is new.
resource
Section titled “resource”resource:
string
Defined in: src/types/governance.ts:120
The resource (tenant:<t>, sort:<SortId>, …).
role:
string
Defined in: src/types/governance.ts:122
The role.
validFrom?
Section titled “validFrom?”
optionalvalidFrom?:string|null
Defined in: src/types/governance.ts:124
The start; absent is the commit instant. Never before it.
validUntil
Section titled “validUntil”validUntil:
string|null
Defined in: src/types/governance.ts:127
The end: an instant, or null to state that the assignment has no
end. Omitted is refused (role_assignment_end_required).