GetSCIMGroup - Get a SCIM group
Updated at:
Applicable editions | Central edition, Region edition |
Service endpoints and authorization
- Get service endpoints: 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 permissions |
Organization Management | SCIM | Read-only |
Request syntax
Central edition
GET https://{domain}/oapi/v1/platform/organizations/{organizationId}/scim/v2/Groups/{id}
Region edition
GET https://{domain}/oapi/v1/platform/scim/v2/Groups/{id}
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 |
| 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/Groups/{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/Groups/{id}' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
Parameter | Type | Description | Example value |
| - | object | ||
| displayName | string | ||
| externalId | string | ||
| id | string | ||
| members | array | ||
| - | object | ||
| $ref | string | ||
| display | string | ||
| type | string | ||
| value | string | ||
| meta | object | ||
| created | string | ||
| lastModified | string | ||
| location | string | ||
| resourceType | string | ||
| version | string | ||
| schemas | array[string] | ||
| urn:alibaba:params:scim:schemas:extension:nezha:2.0:Group | object | ||
| parentExternalId | string | ||
| parentId | string | ||
| path | string |
Response example
{
"displayName": "",
"externalId": "",
"id": "",
"members": [
{
"$ref": "",
"display": "",
"type": "",
"value": ""
}
],
"meta": {
"created": "",
"lastModified": "",
"location": "",
"resourceType": "",
"version": ""
},
"schemas": [
],
"urn:alibaba:params:scim:schemas:extension:nezha:2.0:Group": {
"parentExternalId": "",
"parentId": "",
"path": ""
}
}
Error codes
Visit Error Code Center to view API-related error codes.
Is this page helpful?