SCIM API reference
Pro and EnterpriseThe SCIM 2.0 endpoints, operations, filters, attributes and limits LeoPrevent supports, for configuring an identity provider.
LeoPrevent implements SCIM 2.0 for user and group provisioning. Your Org's base URL and token are on Security & access > Provisioning. See Set up SCIM provisioning.
Authentication#
Send the Org's token in the Authorization header:
Authorization: Bearer lpscim_<token>There is one token per Org. It is shown once, works only while SCIM is on, and Regenerate token replaces it.
Endpoints#
| Endpoint | Methods |
|---|---|
/Users | GET, POST |
/Users/<id> | GET, PUT, PATCH, DELETE |
/Groups | GET, POST |
/Groups/<id> | GET, PUT, PATCH, DELETE |
/ServiceProviderConfig | GET |
/ResourceTypes | GET |
/Schemas | GET |
Users#
| Attribute | Notes |
|---|---|
userName | Required. The person's work email. |
name.givenName, name.familyName, name.formatted | Optional. |
displayName | Optional. |
emails | Optional. |
active | false suspends the person. |
externalId | Your provider's identifier. |
PATCH supports add and replace, with or without a path, for active, userName, externalId, displayName, names and emails. remove operations on a user are ignored. DELETE suspends the person rather than erasing their history.
Groups#
| Attribute | Notes |
|---|---|
displayName | Required. |
members | The people in the group. |
externalId | Your provider's identifier. |
PATCH supports adding members, removing them with a members[value eq "<id>"] path, replacing them, and changing displayName.
Filtering and paging#
On /Users, filters support userName eq and externalId eq. On /Groups, they support displayName eq and externalId eq. Any other filter returns an invalidFilter error.
Page with startIndex and count, up to 200 results a page. Filters longer than 500 characters are refused.
Not supported#
Bulk operations, sorting, ETags, password changes and the /Me endpoint.
Limits#
- 600 requests per Org per minute. Over that, the response is
429with aRetry-Afterheader. - 256 KB per request body. Over that, the response is
413. - Repeated failed authentications from one address are throttled.