SCIM provisioning
Have your identity provider create, update, and deactivate Kairro users and teams automatically using SCIM 2.0. Available on the Enterprise plan. You need the Owner or Admin role.
1. Create a provisioning token
- In the admin console, open Settings, then Provisioning.
- Copy the SCIM base URL.
- Select Create token, name it after the provider (for example “Okta production”), and choose an expiry.
- Copy the token. It is shown once and cannot be retrieved later.
2. Configure your identity provider
| Provider setting | Value |
|---|---|
| SCIM version | 2.0 |
| Base URL / tenant URL | The SCIM base URL from Kairro |
| Authentication | HTTP header, bearer token (the provisioning token) |
| Unique identifier for users | userName, set to the user’s email address |
What is synchronised
| SCIM | Kairro | Notes |
|---|---|---|
userName, emails | Sign-in email | Must be an email address, unique in the workspace |
name, displayName | Display name | |
active | Account status | false disables the account and ends its sessions |
roles | Role | VIEWER, ANALYST, or ADMIN. New users are Viewers if no role is sent |
externalId | Provider identifier | Stored and returned unchanged |
| Groups | Teams | Create, rename, delete, and manage members |
Rules that protect your workspace
- Provisioning never assigns or removes the Owner role, and cannot deactivate the last active owner.
- A delete request disables the account and keeps its history, so past findings and audit entries stay attributable.
- Built-in governance teams cannot be renamed or deleted, and a team referenced by a policy must be detached first.
- Every provisioning action is written to the audit log with the token that made it.
Signing in after provisioning
Provisioned accounts have no password. People sign in through single sign-on, and the first verified sign-in links the provisioned account to their identity.
Supported requests
- Users and Groups: list, get, create, replace, patch, and delete.
- Filtering: one comparison of the form
userName eq "ada@example.com". Supported attributes areuserName,externalId, andidfor users;displayName,externalId, andidfor groups. - Paging with
startIndexandcount, up to 200 results per page. - Not supported: bulk operations, sorting, ETags, and password changes.
curl https://app.kairro.ai/v1/scim/v2/Users?filter=userName%20eq%20%22ada%40example.com%22 \
-H "Authorization: Bearer $KAIRRO_SCIM_TOKEN"
Rotating and revoking tokens
Tokens expire on the date you chose. Create a new token, update the provider, then revoke the old one in Settings, Provisioning. Revoking takes effect immediately.
Before you roll out widely. Run provisioning against a small test group first and confirm that creating, updating, and deactivating a user behaves as you expect with your provider. Contact us if a request is rejected; the response body states the reason.