createAccountMembershipWithPassword is in Preview status and is subject to change without notice. For more information about Preview status, see the GraphQL API policy.


Create a marketplace user with membership in the given company. The created user is active, and is associated with the specified company (membership). User is set with a temporary password; the password is emailed to the recipients specified in the request body. The domain part of the user's email address must match one of the verified domains associated with the company the user will be created in.

This page contains

    Authorization Rules

    This request requires authorization with at least one of the following scopes:










    input CreateAccountMembershipWithPasswordInput! PREVIEW

    Specifies the attributes required to add a user as a member of an account (company)

    CreateAccountMembershipWithPasswordInput fields

    accountId ID!

    The unique identifier of the account (company)

    roles [AccountMembershipRole!]

    The roles to be granted to the new user within the account

    firstName String

    User's first name

    lastName String

    User's last name

    email String

    Email address of the user

    temporaryPassword String

    Temporary password

    recipientEmails [String!]

    List of emails where the user invitation is sent

    Return Fields

    accountMembership AccountMembership PREVIEW
    userErrors [CreateAccountMembershipWithPasswordError!] PREVIEW

    Interactive example

    This is an example mutation query. Use the embedded interactive tool below to edit the query.

    Hint: use Ctrl + Space for autocompleting fields.