SearchSCIMUsers - Search SCIM users
Updated at:
Applicable editions | Central edition, Region edition |
Service endpoints and authorization
- Obtain a service endpoint: Replace {domain} in the API request syntax.
- Obtain a personal access token。
- Obtain organizationId: Required only for the Central edition. Go to the Organization Management console's Basic information page to obtain the organization ID.
Product | Resource | Required permission |
Organization Management | SCIM | Read-only |
Request syntax
Central edition
POST https://{domain}/oapi/v1/platform/organizations/{organizationId}/scim/v2/Users/.search
Region edition
POST https://{domain}/oapi/v1/platform/scim/v2/Users/.search
Request headers
Parameter | Type | Required | Description | Example |
x-yunxiao-token | string | Yes | The personal access token. | pt-0fh3****0fbG_35af****0484 |
Request parameters #1
Parameter | Type | Location | Required | Description | Example |
organizationId | string | path | Yes | The organization ID. | |
| - | object | body | No | ||
| count | integer | body | No | ||
| filter | string | body | No | ||
| schemas | array[string] | body | No | ||
| startIndex | integer | body | No |
Request parameters #2
Parameter | Type | Location | Required | Description | Example |
organizationId | string | path | Yes | The organization ID | |
| - | object | body | No | ||
| count | integer | body | No | ||
| filter | string | body | No | ||
| schemas | array[string] | body | No | ||
| startIndex | integer | body | No |
Request example #1
Central edition
curl -X 'POST' \
'https://{domain}/oapi/v1/platform/organizations/{organizationId}/scim/v2/Users/.search' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484' \
--data '
{
"count": 0,
"filter": "",
"schemas": [
],
"startIndex": 0
}'
Region edition
curl -X 'POST' \
'https://{domain}/oapi/v1/platform/scim/v2/Users/.search' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484' \
--data '
{
"count": 0,
"filter": "",
"schemas": [
],
"startIndex": 0
}'
Request example #2
Central edition
curl -X 'POST' \
'https://{domain}/oapi/v1/platform/organizations/{organizationId}/scim/v2/Users/.search' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484' \
--data '
{
"count": 0,
"filter": "",
"schemas": [
],
"startIndex": 0
}'
Region edition
curl -X 'POST' \
'https://{domain}/oapi/v1/platform/scim/v2/Users/.search' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484' \
--data '
{
"count": 0,
"filter": "",
"schemas": [
],
"startIndex": 0
}'
Response parameters
Parameter | Type | Description | Example |
| - | object | ||
| Resources | array | ||
| - | object | ||
| itemsPerPage | integer | ||
| schemas | array[string] | ||
| startIndex | integer | ||
| totalResults | integer |
Response example
{
"Resources": [
{
}
],
"itemsPerPage": 0,
"schemas": [
],
"startIndex": 0,
"totalResults": 0
}
Error codes
Visit the Error Code Center to view API error codes.
Is this page helpful?