GetSCIMResourceType - Get SCIM resource type

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/{id}

Region edition

GET https://{domain}/oapi/v1/platform/scim/v2/ResourceTypes/{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

  • Yes: Central edition

  • No: Region edition

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/ResourceTypes/{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/ResourceTypes/{id}' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example

-

object

description

string

endpoint

string

id

string

meta

object

created

string

lastModified

string

location

string

resourceType

string

version

string

name

string

schema

string

schemaExtensions

array

-

object

required

boolean

schema

string

schemas

array[string]

Response example

{
    "description": "",
    "endpoint": "",
    "id": "",
    "meta": {
        "created": "",
        "lastModified": "",
        "location": "",
        "resourceType": "",
        "version": ""
    },
    "name": "",
    "schema": "",
    "schemaExtensions": [
        {
            "required": false,
            "schema": ""
        }
    ],
    "schemas": [
        
    ]
}

Error codes

Visit Error Code Center to view API-related error codes.