DeletePipelineGroup - Delete a pipeline group

Updated at:

Deletes a pipeline group.

Applicable editions

Central edition, Region edition

Endpoint and authorization information

  • Obtain the endpoint: Replace {domain} in the request syntax.

  • Obtain a personal access token.

  • Obtain the organizationId: Required only for the Central edition. Go to the Organization Management console, and then navigate to the Basic Information page to obtain the organization ID.

Product

Resource

Required permission

Pipeline

Pipeline group

Read and write

Request syntax

Central edition

DELETE https://{domain}/oapi/v1/flow/organizations/{organizationId}/pipelineGroups/{groupId}

Region edition

DELETE https://{domain}/oapi/v1/flow/pipelineGroups/{groupId}

Request headers

Parameter

Type

Required

Description

Example value

x-yunxiao-token

string

Yes

A 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

The organization ID.

5ebbc0228123212b59xxxxx

groupId

integer

path

Yes

The pipeline group ID.

111

Request examples

Central edition

curl -X 'DELETE' \
  'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/pipelineGroups/111' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Region edition

curl -X 'DELETE' \
  'https://{domain}/oapi/v1/flow/pipelineGroups/111' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example value

-

boolean

Whether the operation succeeded.

true

Response example

true

Error codes

For more information, see the error code center.