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

  1. In the admin console, open Settings, then Provisioning.
  2. Copy the SCIM base URL.
  3. Select Create token, name it after the provider (for example “Okta production”), and choose an expiry.
  4. Copy the token. It is shown once and cannot be retrieved later.

2. Configure your identity provider

Provider settingValue
SCIM version2.0
Base URL / tenant URLThe SCIM base URL from Kairro
AuthenticationHTTP header, bearer token (the provisioning token)
Unique identifier for usersuserName, set to the user’s email address

What is synchronised

SCIMKairroNotes
userName, emailsSign-in emailMust be an email address, unique in the workspace
name, displayNameDisplay name
activeAccount statusfalse disables the account and ends its sessions
rolesRoleVIEWER, ANALYST, or ADMIN. New users are Viewers if no role is sent
externalIdProvider identifierStored and returned unchanged
GroupsTeamsCreate, 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 are userName, externalId, and id for users; displayName, externalId, and id for groups.
  • Paging with startIndex and count, 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.