Invite a user.
Mail a user that they can start using Galilea. Creating a user with POST /users
deliberately writes nothing outside Galilea, which is what lets a person be put into
groups before they have ever logged in; this is the step that turns such a row into
something they can actually use.
There is no request body. What this does follows from the identityProvider the
user was created with, and from nothing else, so the decision is made once at creation
rather than again on every invitation.
A user of the sign-in Galilea manages is given a login account in the Galilea identity system and mailed the link that sets their password. An account that already exists is adopted rather than created again, so inviting the same person twice resends the mail instead of failing; the status code says which happened.
A user of a customer's directory is given a passwordless login account in the identity system, created with the address already verified and linked to their directory. They are mailed that their access is ready, with the address they sign in at. The mail is German. An account that already exists is adopted rather than created again, so this too can be repeated as often as needed.
That split is what keeps a federated person out of a second credential: a password
account created beside their federated identity would keep working outside the
conditional access, multi-factor and offboarding rules of the customer's directory, so
disabling them in the directory would not lock them out of Galilea. Choosing the right
provider at creation is therefore the moment that matters; GET /identity-providers
lists what there is to choose from.
A user created before identityProvider was required carries none and is invited with a
password account, which is what such a user would always have been given.
If the invitation fails, the user still exists in Galilea and keeps their group memberships — only the invitation needs repeating, not the provisioning.
Requires the right to edit users, which is the tenant manager and the administrator.
apiKeyX-API-Key<token>API key issued in the Galilea settings.
userId*stringThe id of the user to invite, as returned by GET /users.
uuidThe login account already existed and only the invitation was sent again — which is why this can be repeated as often as needed.
application/json- response
A user of the tenant, as returned by the user listing.
id*stringIdentifier of the user.
uuidemailAddress*stringThe address of the user, and their identity in this API.
emailfirstName?stringGiven name.
lastName?stringFamily name.
role*stringThe role of the user.
"light""viewer""editor""tenantManager"identityProvider*How the user signs in, one of the providers of the tenant as listed by
GET /identity-providers. Every user has exactly one; it was named when the user was
created and never changes. A script reconciling against GET /users reads here which
of its people are federated.
status*stringWhether the user has ever logged in. A user stays invited until their first
login, whether they were provisioned, invited or arrive through an identity
provider.
"invited""active"groups*array<>The team groups of the user. The personal group and the group of all users of the tenant are implicit and are not listed.
invitedAt?stringWhen the user was created in Galilea.
date-timelastActiveAt?|When the user last logged in; null while the user is invited.
date-timecurl -X POST "https://example.com/users/62e49dd6-954a-11ef-b06a-170340f38b3d/invitation"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "emailAddress": "anna.mueller@kunde.de", "firstName": "Anna", "lastName": "Müller", "role": "editor", "identityProvider": { "id": "8f1b0c2e-9a44-11ef-9f3d-4f0c2b6a1d77", "alias": "microsoft-entra" }, "status": "invited", "groups": [ { "id": "7d9030b3-4c0f-4051-9d54-79a6802a0c22", "name": "Legal" } ], "invitedAt": "2019-08-24T14:15:22Z", "lastActiveAt": "2019-08-24T14:15:22Z"}