SCIM provisioning
A workspace on the Business plan (and Enterprise) can let its directory manage who is in it over SCIM 2.0. It is built for SCIM 2.0 directories such as Okta and Microsoft Entra ID, and is in preview until it has been run against a live directory. Your directory:
- adds people you assign to the Ramphearth app, so they can join the first time they sign in;
- switches people off when you unassign or disable them: they are removed from the workspace at once (their sessions, calls and workspace tokens end, and they get the usual "you were removed" notice);
- turns its groups into roles: each group pushed to Ramphearth becomes a custom role, and its members hold that role.
SCIM works together with single sign-on: people your directory adds sign in with your identity provider. Set up single sign-on first; Ramphearth won't make a SCIM token until the workspace has a single sign-on connection.
SCIM is set up by an Owner in Org Settings → Security → SCIM provisioning. Admins can see what the directory has done but can't make tokens.
What it never does
- It never links an account just because the address matches. A directory user becomes a Ramphearth account only through your single sign-on: when that person signs in with your identity provider (or already has), Ramphearth ties them together by the identity provider's own subject, the same rule single sign-on follows. Somebody else's Ramphearth account with the same address, in another workspace, is never touched.
- It never removes an Owner. Owners are the way back in if something goes wrong. When your directory switches off an Owner, Ramphearth keeps them, records it, and shows "kept: Owner" in the list. An Owner removes another Owner by hand.
- It never gives Owner or Admin. Groups only ever become custom roles. A group can't take over a role that can manage integrations.
- It never takes away what a person gave by hand. If an Admin gave someone a role, the directory taking them out of the matching group leaves that role alone.
- It never sends passwords. Ramphearth doesn't take passwords from SCIM; people sign in with single sign-on.
Setting it up
1. Make a token
In Org Settings → Security → SCIM provisioning, choose Make a token, give it a name (for example "Okta"), choose how long it lasts (90, 180 or 365 days) and confirm with your password and second factor. Copy the token straight away: it starts with rh_scim_ and is shown once. Ramphearth keeps only a fingerprint of it.
A workspace can hold three live tokens, so you can make a new one before the old one runs out. Revoke a token the moment you no longer need it.
2. Point your directory at Ramphearth
| Setting | Value |
|---|---|
| SCIM base URL (tenant URL) | https://api.ramphearth.com/scim/v2 (shown in Org Settings; self-hosted: your API's address plus /scim/v2) |
| Authentication | HTTP header, Bearer token: the rh_scim_… token |
| Unique identifier | userName |
Okta. Open your Ramphearth app (the one you made for single sign-on), go to General → App Settings → Edit, set Provisioning to SCIM, then on the Provisioning tab set the base URL above, Unique identifier field for users to userName, choose Push New Users, Push Profile Updates and Push Groups, and set Authentication Mode to HTTP Header with the token. Under To App, switch on Create Users, Update User Attributes and Deactivate Users.
Microsoft Entra ID. Open the enterprise application you made for single sign-on, go to Provisioning → Get started, set Provisioning Mode to Automatic, put the base URL in Tenant URL and the token in Secret Token, and choose Test Connection. Keep the default attribute mappings (userPrincipalName → userName, objectId → externalId, mail → emails[type eq "work"].value). Set Scope to the users and groups you assign, then switch Provisioning Status on.
Google Workspace can't push to SCIM apps of its own making; use single sign-on's "accounts made on first sign-in" there instead.
3. Assign people
Assign people (or groups) to the app in your directory. Each one shows up in Org Settings as Waiting to sign in until they sign in with your single sign-on, then Member. A person your directory added can join even if "Make accounts on first sign-in" is off in your single sign-on settings, but only on one of the workspace's verified domains, and only while the workspace has a free member seat.
What each change does
| In your directory | In Ramphearth |
|---|---|
| Assign a person | A directory user is made. If they already signed in with your single sign-on, they are linked at once; otherwise they're waiting. |
| They sign in with single sign-on | They join the workspace (seat checked, as for any join) and get their groups' roles. |
| Change their name or address | The directory user is updated. Their Ramphearth account keeps its own name and address. |
Unassign or disable them (active: false) |
They are removed from the workspace through the usual leave path. Owners are kept. Someone who was already a member but has never signed in with your single sign-on here isn't linked yet, so nothing can remove them: SCIM provisioning shows them as "still in the workspace" (to Owners and Admins only), and an Owner or Admin removes them in Members. If they sign in with your single sign-on later, they are linked and removed at once. |
| Assign them again | They can join again the next time they sign in. |
| Delete them | The same as switching them off, then the directory user is forgotten. |
| Push a group | A custom role is made with that name (or an existing custom role with the same name is used). Group names are at most 40 characters, like any role name. A role made for the group starts with no permissions: an Owner or Admin chooses what it allows in Org Settings → Roles. An existing role it matches keeps the permissions it already has, so check them before you push a group with that name. |
| Add or remove group members | The role is given to, or taken from, those members. |
| Rename a group | The role is renamed if the directory made it. |
| Delete a group | The role is taken from everyone who got it through the group. The role itself stays; delete it by hand if you want it gone. |
Group names pass the workspace's word filter like any other role name.
The API
Ramphearth implements the parts of SCIM 2.0 (RFC 7643 and RFC 7644) that directories use. Requests and answers are application/scim+json (plain application/json is accepted too).
| Endpoint | Methods |
|---|---|
/ServiceProviderConfig, /ResourceTypes, /Schemas |
GET |
/Users |
GET (list, filter), POST |
/Users/{id} |
GET, PUT, PATCH, DELETE |
/Groups |
GET (list, filter), POST |
/Groups/{id} |
GET, PUT, PATCH, DELETE |
- Filters:
eqonly, onuserName,externalId,emails.valueoridfor users, anddisplayName,externalIdoridfor groups.userNameis compared without case. Anything else answers400 invalidFilter. - Paging:
startIndex(from 1) andcount(at most 200, default 100). - PATCH:
add,replaceandremove, with or without apath, including Entra's capitalised ops and"False"strings, andmembers[value eq "…"]paths for groups. Attributes Ramphearth doesn't keep are ignored. GET /Groups?excludedAttributes=membersleaves members out.- Not supported: bulk, sort, ETags,
changePassword, and the enterprise user extension's other attributes. - Errors are SCIM error bodies:
401for a missing or wrong token,403when the plan doesn't include SCIM, the workspace is read-only for an unpaid bill or has no free seat,400 invalidValuefor a group name over 40 characters,404,409 uniquenessfor a takenuserName,externalIdor group name. - Rate limit: 600 requests a minute per token; a
429carriesRetry-After, which Okta and Entra respect.
A token belongs to one workspace and works only at /scim/v2; it is refused everywhere else in the API.
If your plan changes
Without SCIM in the plan, or while the workspace is read-only because a bill is unpaid, Ramphearth refuses what adds or gives (new people and groups, switching people back on, linking someone, adding to groups, renaming a group) with 403, and keeps accepting what takes away and plain profile changes: switching people off, deleting them, taking them out of groups, and name or address updates. So a workspace that moves to a smaller plan can still remove people from its directory, and its directory's profile pushes keep working.
What we keep
For each directory user: the userName, externalId, name, work address and whether they're active, plus which Ramphearth account they're linked to. For each group: its name, externalId, its role and its members. The token is kept only as a SHA-256 fingerprint and its last four characters. Every change is in the workspace's audit log as scim.* (ids and counts only, never names or addresses), with the token as the actor; removals also appear as org.member_removed with via: "scim".