Magidoc

addMembers
Mutation

Invites or adds members to a Hive workspace.

Arguments

#

workspaceId

users

Non-null

groups

teams

projects

autoJoin

externalUser

shouldSendInvite

Defaults to true, which emails an invitation to every listed user; pass false to add silently

emailNote

inviteOrigin

UI surface creating new invitations; existing invitation origins are preserved.

restrictedMember

Admin-only explicit restricted-member override; ignored for non-admin callers, who fall back to the workspace default (as does omitting the value)

Response

#

Returns [AddMembersResult !]!.

Example

#