ListSCIMGroups

Updated at:

Applicable editions

Central edition, Region edition

Service Endpoint and Authorization

  • Get a Service Endpoint: Replace {domain} in the API request syntax.
  • Get a Personal Access Token。
  • Get organizationId:Required only for the Central edition. Go to 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/Groups

Region edition

GET https://{domain}/oapi/v1/platform/scim/v2/Groups

Request Headers

Parameter

Type

Required

Description

Example Value

x-yunxiao-token

string

Yes

Personal access token.

pt-0fh3****0fbG_35af****0484

Request Parameters

Parameter

Type

Location

Required

Description

Example Value

organizationId

string

path

  • Yes: Central edition

  • No: Region edition

Organization ID.

filter

string

query

No

SCIM filter expression. The MVP supports eq and and.

startIndex

integer

query

No

SCIM starting index. Starts at 1.

count

integer

query

No

Number of items per page.

Request Example

Central edition

curl -X 'GET' \
  'https://{domain}/oapi/v1/platform/organizations/{organizationId}/scim/v2/Groups?filter={filter}&startIndex={startIndex}&count={count}' \
  -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/Groups?filter={filter}&startIndex={startIndex}&count={count}' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response Parameters

Parameter

Type

Description

Example Value

-

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

VisitError Code Center to view API-related error codes.