Invites a person to join your organization: they receive an email with a link to accept the invitation.
Required role: ORG_ADMIN (your organization), or SYS_ADMIN (any organization).
Fields
| Field | Required | Description |
|---|---|---|
inviteeEmail | Yes | Email of the person to invite |
locale | Yes | Language of the invitation: en, fr or es (case-insensitive) |
roles | Yes | Role given when the invitation is accepted: [] (no role), or one of ORG_ADMIN, ORG_EDITOR, ORG_VIEWER |
groups | No | Emails of groups of your organization ([email protected], case-insensitive). The invitee is added to them right away. |
connectionId | No | Id of the authentication connection to use (see GET .../connections). Left out: the invitee chooses. |
The invitation link opens JMap NG for an ORG_VIEWER, and the portal for the other roles.
Invitations
An invitation sends an email to the invitee, with a link to join the organization (create an account or sign in). The invitee gets the invitation roles when they accept it. An invitation expires after 7 days. Invitation ids look like uinv_0123456789abcdef.
Roles
A member has one organization role. Each role includes the ones below it.
| Role | Allows |
|---|---|
ORG_ADMIN | Manage the organization: members, invitations, API keys, groups, settings |
ORG_EDITOR | Create and modify resources (projects, data sources, ...) |
ORG_VIEWER | View the resources shared with them |
Roles are values of the roles array, case-insensitive. Only one of them can be given.
Response
result holds the invitation, with its id, its invitationUrl (the link sent to the invitee) and its expiresAt date.
When it fails
400: a field is missing or isn't valid, a group doesn't exist in the organization, or the person is already a member of the organization.404: the organization doesn't exist.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||