Add user to organization

Adds an existing or new user to an organization. The caller must be an admin or billing owner in the target organization.

Body Params

User addition data. Organization ID is required. Either user_id (for existing users) or user_email (for new or existing users) must be provided, but not both. Role defaults to "consumer" and must be one of: "consumer", "admin", "billing_owner". If user_email is provided and the user doesn't exist, a new user will be created with email-based password setup. Caller must be an admin or billing owner in the target organization.

string

Existing user ID (mutually exclusive with user_email)

string

Email for existing or new user (mutually exclusive with user_id)

string
required
string
enum
Defaults to consumer
Allowed:
Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json