DeleteSCIMGroup - Delete 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 and write

Request syntax

Central edition

DELETE https://{domain}/oapi/v1/platform/organizations/{organizationId}/scim/v2/Groups/{id}

Region edition

DELETE 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

  • Yes: Central edition

  • No: Region edition

Organization ID.

id

string

path

Yes

SCIM resource ID.

Request example

Central edition

curl -X 'DELETE' \
  '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 'DELETE' \
  '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

None.

Error codes

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