Type Alias AssignmentCreate

type AssignmentCreate = {
    assigneeId: string;
    roles: RoleType[];
    type: AssignmentType;
}
Index

Properties

Properties

assigneeId: string

The userId or groupId based on the type.

roles: RoleType[]

The roles assigned to the assigneeId. For the full list of roles assignable in this space type, call GET /spaces/{spaceId} and inspect the meta.assignableRoles object.

The type of assignment such as user or group