Skip to content

Interface: GovernanceAssignRoleRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / GovernanceAssignRoleRequest

Defined in: src/types/governance.ts:111

POST /api/v1/governance/role-assignments body.

SDK schema keys are camelCase; native wire keys are snake_case.

actorSubject: string

Defined in: src/types/governance.ts:114

The assignee, user:<uuid> or service_account:<uuid> (record 30 §3.5).


changeReason: string

Defined in: src/types/governance.ts:116

Why.


optional displayName?: string | null

Defined in: src/types/governance.ts:118

The assignee actor’s display name, recorded when its actor is new.


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.


optional validFrom?: string | null

Defined in: src/types/governance.ts:124

The start; absent is the commit instant. Never before it.


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).