passwordManagementAndActivation
Invite a user
User.Invitation + Create
<div className="permission-callout__roles"><span className="permission-callout__roles-label">Roles:</span> <Badge intent="info">Administrator</Badge></div> </Info>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.
post/api/v2/user/invitation
Request
- Base URL: https://cdn.emnify.net
- URL: https://cdn.emnify.net/api/v2/user/invitation
- Auth: HTTP bearer
Request body
Response
User created successfully
Changes
No recorded changes to this operation across all 1 revision of this API.