INVITE USER
Syntax
Description
This enables an organization user manager to invite users into an organization. The primary role name assigned to the user is reserved and kept inactive until the user accepts the invitation. If the user rejects the invitation the role is dropped. When you create the invitation you can assign additional roles, as well as a default role, to the user’s primary role.
Only a role with MANAGE_MEMBERS privilege can invite users.
Arguments
email_address
The email address of the user(s) to invite into the current organization.
WITH invitation_parameter = [, ...]
Optionally, this clause specifies Invitation Parameters.
Invitation Parameters
roles
Specifies a list of additional roles to grant to the user role once the invitation is accepted.
Required: No
Default value: []
default_role
Example
Invite a new user to an organization with specific roles
Invite multiple users to an organization with specific roles
Last updated