Skip to content

Public routes: SCIM

SCIM 2.0 provisioning of a workspace’s members by its single sign-on provider, with the workspace’s SCIM token.

What it doesRoute
What the SCIM server offersGET /public/v1/scim/v2/ServiceProviderConfig
List the workspace’s membersGET /public/v1/scim/v2/Users
Make a memberPOST /public/v1/scim/v2/Users
Remove a memberDELETE /public/v1/scim/v2/Users/{user_id}
Read a memberGET /public/v1/scim/v2/Users/{user_id}
Change a memberPATCH /public/v1/scim/v2/Users/{user_id}
Replace a member’s name and statusPUT /public/v1/scim/v2/Users/{user_id}

GET /public/v1/scim/v2/ServiceProviderConfig

SCIM 2.0’s service provider configuration: users, filtering by userName and PATCH; no groups, bulk or sorting. Send the workspace’s SCIM token as a bearer token.

Needs: nothing: no credential.

Answers

StatusBodyMeaning
200application/scim+jsonOK
401problemNo credential, or one that is not right.
429problemToo many requests: wait for Retry-After.

GET /public/v1/scim/v2/Users

A SCIM ListResponse of the workspace’s members, a page at a time (startIndex, count), or the one filter=userName eq “address” names.

Needs: nothing: no credential.

Parameters

NameInDescription
filterquery
startIndexquery
countquery

Answers

StatusBodyMeaning
200application/scim+jsonOK
400problemThe request could not be read: the problem names the field.
401problemNo credential, or one that is not right.
429problemToo many requests: wait for Retry-After.

POST /public/v1/scim/v2/Users

A new account, with an address of one of the workspace’s single sign-on domains, made a member in the role the workspace gives people new (a viewer when it names none). They sign in with single sign-on.

Needs: nothing: no credential.

Answers

StatusBodyMeaning
201application/scim+jsonMade
400problemThe request could not be read: the problem names the field.
401problemNo credential, or one that is not right.
409problemRefused as things stand: the problem says why.
429problemToo many requests: wait for Retry-After.

DELETE /public/v1/scim/v2/Users/{user_id}

Takes them out of the workspace and turns their account off.

Needs: nothing: no credential.

Parameters

NameInDescription
user_id (required)path

Answers

StatusBodyMeaning
204noneDone, with nothing to say
401problemNo credential, or one that is not right.
403problemRefused: the app is switched off, or this is not allowed.
404problemNot found, or the part is switched off.
409problemRefused as things stand: the problem says why.
429problemToo many requests: wait for Retry-After.

GET /public/v1/scim/v2/Users/{user_id}

Needs: nothing: no credential.

Parameters

NameInDescription
user_id (required)path

Answers

StatusBodyMeaning
200application/scim+jsonOK
401problemNo credential, or one that is not right.
404problemNot found, or the part is switched off.
429problemToo many requests: wait for Retry-After.

PATCH /public/v1/scim/v2/Users/{user_id}

A SCIM PatchOp replacing active or displayName.

Needs: nothing: no credential.

Parameters

NameInDescription
user_id (required)path

Answers

StatusBodyMeaning
200application/scim+jsonOK
400problemThe request could not be read: the problem names the field.
401problemNo credential, or one that is not right.
403problemRefused: the app is switched off, or this is not allowed.
404problemNot found, or the part is switched off.
409problemRefused as things stand: the problem says why.
429problemToo many requests: wait for Retry-After.

PUT /public/v1/scim/v2/Users/{user_id}

Their name, and whether their account is on: off, every session of theirs ends. Only an account that belongs to this workspace alone, and is no owner, is changed.

Needs: nothing: no credential.

Parameters

NameInDescription
user_id (required)path

Answers

StatusBodyMeaning
200application/scim+jsonOK
400problemThe request could not be read: the problem names the field.
401problemNo credential, or one that is not right.
403problemRefused: the app is switched off, or this is not allowed.
404problemNot found, or the part is switched off.
409problemRefused as things stand: the problem says why.
429problemToo many requests: wait for Retry-After.