Skip to content
OpenSmartRoute
Documentation
Hosted platformREST API reference

Scim

SCIM 2.0 (RFC 7643 / 7644) for the organization's identity provider - Entra ID, Okta, OneLogin and the like - authenticated with the provisioning token an owner minted under `/api/v1/workspace/scim`.

Hosted platformAPI version 2.1.0

Users are provisioned into, updated in and removed from the organization; Groups are not provisioned.

get/scim/v2/Users

Users List

The organization's members as SCIM users (filter=userName eq "...", startIndex, count).

No authentication

Parameters

NameInTypeDefaultDescription
filterquerystring | null
startIndexqueryinteger1
countqueryinteger100

Responses

200Successful Response
422Validation ErrorHTTPValidationError
Requestbash
curl -s "$OSR_URL/scim/v2/Users?startIndex=1&count=100"

post/scim/v2/Users

Users Create

Provision a person into the organization (userName = e-mail; roles, active, externalId).

No authentication

Responses

201Successful Response
Requestbash
curl -s -X POST "$OSR_URL/scim/v2/Users"

get/scim/v2/Users/{user_id}

Users Get

No authentication

Parameters

NameInTypeDefaultDescription
user_id(required)pathstring

Responses

200Successful Response
422Validation ErrorHTTPValidationError
Requestbash
curl -s "$OSR_URL/scim/v2/Users/<user_id>"

put/scim/v2/Users/{user_id}

Users Replace

Replace the user's attributes (name, roles, active).

No authentication

Parameters

NameInTypeDefaultDescription
user_id(required)pathstring

Responses

200Successful Response
422Validation ErrorHTTPValidationError
Requestbash
curl -s -X PUT "$OSR_URL/scim/v2/Users/<user_id>"

patch/scim/v2/Users/{user_id}

Users Patch

RFC 7644 PatchOp: replace / add of active, name.*, displayName, roles, externalId.

No authentication

Parameters

NameInTypeDefaultDescription
user_id(required)pathstring

Responses

200Successful Response
422Validation ErrorHTTPValidationError
Requestbash
curl -s -X PATCH "$OSR_URL/scim/v2/Users/<user_id>"

delete/scim/v2/Users/{user_id}

Users Delete

Deprovision: the membership is removed and the sessions on the workspace ended (the user stays).

No authentication

Parameters

NameInTypeDefaultDescription
user_id(required)pathstring

Responses

204Successful Response
422Validation ErrorHTTPValidationError
Requestbash
curl -s -X DELETE "$OSR_URL/scim/v2/Users/<user_id>"

Something wrong or out of date on this page? Tell us - the page is named for you, so a one-line note is enough.