v14

latestOpenAPI 3.1.02026-08-043122950.3 KB
scim

List SCIM-managed users

Retrieves a paginated list of organization members and pending invitations managed by SCIM for non-managed organizations.

get/api/organizations/{name}/scim-provisioning/v2/Users

Path parameters

namestring required

Query parameters

startIndexnumber
countnumber
filterstring

You can filter results using the equals operator (eq) to find items that match specific values like id, userName, emails, and externalId. For example, to find a user named Bob, use this search: ?filter=userName%20eq%20Bob

Response

SCIM User List

schemasstring[] required
totalResultsinteger required
itemsPerPageinteger required
startIndexinteger required

Example response

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:ListResponse"
  ],
  "totalResults": 100,
  "itemsPerPage": 100,
  "startIndex": 1,
  "Resources": [
    {
      "schemas": [
        "urn:ietf:params:scim:schemas:core:2.0:User"
      ],
      "id": "123",
      "externalId": "unique-identifier",
      "userName": "username",
      "displayName": "username (equals to userName)",
      "name": {
        "givenName": "John",
        "familyName": "Doe",
        "formatted": "John Doe"
      },
      "emails": [
        {
          "value": "john.doe@example.com",
          "primary": true,
          "type": "work"
        }
      ],
      "active": true,
      "meta": {
        "resourceType": "User",
        "location": "https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"
      }
    }
  ]
}