GetSCIMSchema - Get SCIM schema
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/Schemas/{id}
Region edition
GET https://{domain}/oapi/v1/platform/scim/v2/Schemas/{id}
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. | |
id | string | path | Yes | SCIM resource ID. |
Request example
Central edition
curl -X 'GET' \
'https://{domain}/oapi/v1/platform/organizations/{organizationId}/scim/v2/Schemas/{id}' \
-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/Schemas/{id}' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
Parameter | Type | Description | Example |
| - | object | ||
| attributes | array | ||
| - | object | ||
| description | string | ||
| multiValued | boolean | ||
| mutability | string | ||
| name | string | ||
| required | boolean | ||
| returned | string | ||
| subAttributes | array[string] | ||
| uniqueness | string | ||
| description | string | ||
| id | string | ||
| meta | object | ||
| created | string | ||
| lastModified | string | ||
| location | string | ||
| resourceType | string | ||
| version | string | ||
| name | string | ||
| schemas | array[string] |
Response example
{
"attributes": [
{
"description": "",
"multiValued": false,
"mutability": "",
"name": "",
"required": false,
"returned": "",
"subAttributes": [
],
"type": "",
"uniqueness": ""
}
],
"description": "",
"id": "",
"meta": {
"created": "",
"lastModified": "",
"location": "",
"resourceType": "",
"version": ""
},
"name": "",
"schemas": [
]
}
Error codes
Visit Error Code Center to view API-related error codes.
Is this page helpful?