Interface AssignmentGroupInput

Draft shape accepted when creating or updating a group via groups.upsert. All fields except name are optional; the server fills defaults and normalizes (dedupes IDs, clamps lengths, validates the color).

interface AssignmentGroupInput {
    autoAssign?: boolean;
    color?: string;
    id?: string;
    name: string;
    netIds?: number[];
    roleIds?: string[];
    userIds?: string[];
}

Properties

autoAssign?: boolean

Whether members of this group are automatically assigned to its nets.

color?: string

Display color as a #RRGGBB hex string. Defaults to #3D8BFF.

id?: string

Group ID to update. Omit to create a new group.

name: string

Human-readable group name (max 40 characters).

netIds?: number[]

Numeric net IDs this group is placed on.

roleIds?: string[]

Discord role IDs that belong to this group (max 50).

userIds?: string[]

Discord user IDs that belong to this group (max 200).