addMembers Mutation
Invites or adds members to a Hive workspace.
Arguments
#
workspaceId
groups
[String ]
teams
[String ]
projects
[String ]
autoJoin
No effect — membership is always written immediately. The flag only ever selected an internal auto-join-by-domain code path that skipped the membership write, silently no-opping for external callers.
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
#
Previous
addJournalLine