createUserGroup
fun createUserGroup(name: String, id: String? = null, description: String? = null, teamId: String? = null, memberIds: List<String>? = null): Call<UserGroup>
Creates a user group.
Parameters
name
Display name (1–255 chars), unique within app/team.
id
Group ID (max 255 chars). A UUID v7 is generated server-side when null.
description
Optional description (max 1024 chars).
teamId
Team to scope the group to. Required when multi-tenancy is enabled.
memberIds
Initial member user IDs (max 100).