Skip to main content
GET
List users
An RFC 7644 list. Filter with userName eq "...", and page with startIndex and count (default 100, max 500). An unknown userName returns an empty list. Related guide: User provisioning: set up SCIM. RFC 7644 list with filter (userName eq "…" only), startIndex, and count (default 100, max 500). An unknown userName answers an empty list, never 404.
Availability: Cloud · Enterprise (self-hosted). The SCIM endpoint answers 401 on an unlicensed self-hosted deployment.
SCIM lives on its own base URL: https://api.onecli.sh/scim/v2 on Cloud, http://localhost:10254/scim/v2 self-hosted. It authenticates with a SCIM token (oc_scim_…, minted at POST /org/scim/tokens), never a OneCLI API key, and speaks application/scim+json per RFC 7644. Each token is rate-limited to 600 requests per minute.

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Query Parameters

filter
string
startIndex
integer
default:1
count
integer
default:100

Response

A list response of Users

RFC 7644 list response.

schemas
string[]
Example:
totalResults
integer
startIndex
integer
itemsPerPage
integer
Resources
object[]