← Files GoodMemARCHIVED FILE
skills/goodmem-sdk/references/typescript/models/AssignRoleRequest.md
745 Bytes · Oct 3, 2026 · 06:25 UTC
<!-- sdk-ref package=@pairsystems/goodmem registry=npm version=0.1.6 --> # AssignRoleRequest Assigns one code-defined role at an INSTANCE or SPACE boundary. - `roleAssignmentId` (`string | null`, optional): Optional caller-provided role-assignment UUID. - `principalId` (`string`, required): Active principal receiving the role. - `role` (`"ADMIN" | "USER" | "SPACE_VIEWER" | "SPACE_CONTRIBUTOR" | "SPACE_CONTENT_MANAGER" | "SPACE_ADMIN"`, required): Code-defined non-ROOT role to assign. - `assignedResource` (`RoleAssignmentTarget`, required): INSTANCE or SPACE boundary receiving the assignment. [TypeScript](../../typescript.md) Related types — open only those used by your request: - [RoleAssignmentTarget](RoleAssignmentTarget.md)
SHA-256: 2cfed51c70b7b48126b6cadf2c805e67d4026f9aedeb1f6d04ec22f54b90d2f2