GetSCIMResourceTypes - Get SCIM resource types
Updated at:
Applicable editions | Central edition, Region edition |
Service endpoint and authorization information
- Get service endpoint: Replace {domain} in the request syntax.
- Get a personal access token。
- Get 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
GET https://{domain}/oapi/v1/platform/organizations/{organizationId}/scim/v2/ResourceTypes
Region edition
GET https://{domain}/oapi/v1/platform/scim/v2/ResourceTypes
Request headers
Parameter | Type | Required | Description | Example |
x-yunxiao-token | string | Yes | Personal access token. | pt-0fh3****0fbG_35af****0484 |
Request parameters
Parameter | Type | In | Required | Description | Example |
organizationId | string | path |
| Organization ID. |
Request example
Central edition
curl -X 'GET' \
'https://{domain}/oapi/v1/platform/organizations/{organizationId}/scim/v2/ResourceTypes' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'GET' \
'https://{domain}/oapi/v1/platform/scim/v2/ResourceTypes' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
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 Error Code Center to view API-related error codes.
Is this page helpful?