Invite a person

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

FieldRequiredDescription
inviteeEmailYesEmail of the person to invite
localeYesLanguage of the invitation: en, fr or es (case-insensitive)
rolesYesRole given when the invitation is accepted: [] (no role), or one of ORG_ADMIN, ORG_EDITOR, ORG_VIEWER
groupsNoEmails of groups of your organization ([email protected], case-insensitive). The invitee is added to them right away.
connectionIdNoId 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.

RoleAllows
ORG_ADMINManage the organization: members, invitations, API keys, groups, settings
ORG_EDITORCreate and modify resources (projects, data sources, ...)
ORG_VIEWERView 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.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of the organization

Body Params

The person to invite, the language of the invitation, and the role and groups to give.

string

Id of the authentication connection the invitee must use (see GET .../connections). Left out: the invitee chooses.

groups
array of strings

Emails of groups of the organization (case-insensitive). The invitee is added to them right away.

groups
string
required
length ≥ 1

Email of the person to invite. Must not be a member of the organization.

string
required
length ≥ 1

Language of the invitation: en, fr or es (case-insensitive)

roles
array of strings
required

Role given when the invitation is accepted: one of ORG_ADMIN, ORG_EDITOR, ORG_VIEWER (case-insensitive), or [] for no role

roles*
Responses

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