createAccountUsers
Adds team members and returns their roster rows in submitted email order after deduplication. Existing Crazy Egg users, and new users when SAML SSO is enabled, join immediately; anyone else gets a pending invitation that expires after 30 days. Sends an invitation email to every address. Requires team settings edit access.
createAccountUsers(
emails: [String!]!
role: AccountUsersRole!
sites: [String!]!
specificSites: Boolean!
): [AccountTeamMember!]!
Arguments
createAccountUsers.emails ● [String!]! non-null scalar
Nonempty list of invitee email addresses; whitespace is trimmed and duplicates are ignored case-insensitively. Existing members or invitations are rejected.
createAccountUsers.role ● AccountUsersRole! non-null enum
Role to assign; ACCOUNT_HOLDER is treated as OWNER without transferring account ownership. Only an
owner can assign OWNER.
createAccountUsers.sites ● [String!]! non-null scalar
Site names from sites, not numeric IDs; must be nonempty when specificSites is true. Owners ignore
this list.
createAccountUsers.specificSites ● Boolean! non-null scalar
Whether to restrict access to the listed sites; false grants access to all sites. Ignored for owners,
who always have access to all sites.
Type
AccountTeamMember object
A roster row from accountUsers or team mutations representing the holder, a linked member, or an
invitation. IDs are prefixed by record kind and unrestricted members expose an empty sites list.