User → Invite
AI-generatedSummary
Invites a new user to the TrainAR tenant via email, setting their email, full name, and role.
Inputs
- email (required) — The email address of the user to invite.
- fullName (required) — The full name of the user to invite.
- roles (required) — An array of roles to assign. Currently, the API only accepts ["admin"]. Trainer/trainee assignment is handled via separate seat-assignment endpoints.
Output shape
A list of items, each containing the API response object for the created user.
The response shape is determined by the TrainAR API.
Examples
Example 1: Onboarding a new administrator
Set resource to User, operation to Invite, email to admin@company.com, full name to Administrator, and roles to ["admin"].