Invite a user
Invite a user to a Workspace by specifying username and the roles that the user will have in the organization.
This user is created and a `User invited` event is sent.
There is no additional action such as an email sent.
The following fields may be provided:
- `username` (String) - Email of the invited user
- `name` (String) - Name of the invited user
- `organisation` (Object) - Defaults to the default Workspace of the requesting user
- `roles` (Array) - Assigns the **Administrator** role by default
If the invited user doesn't exist, a new user is created and the `organisation.id` is their default Workspace.
If the invited user already exists, the user is assigned to the Workspace.
This fails if the Workspace feature isn't enabled on the target organization's tariff plan.