Groups

Create group

Creates a new user group with the current user as the owner.

post/groups

Request body

namestring required
descriptionstring nullable
type'domain' | 'list' required
domainstring hostname

Required if type is 'domain'.

usersstring[]

Array of user IDs. Only applicable if type is 'list'.

Response

Group created successfully.

idstring ulid required
ownerstring ulid required
namestring required
descriptionstring nullable
type'domain' | 'list' required

Changes