UpdatePipelineGroup - Update a pipeline group

Updated at:

Updates a pipeline group.

Applicable editions

Central edition, Region edition

Endpoints and authorization information

  • Obtain an endpoint and replace {domain} in the request syntax.

  • Obtain a personal access token.

  • Obtain the organizationId. This parameter is required only for the Central edition. Navigate to the Basic Information page in the Tenant Management console to obtain the organization ID.

Product

Resource

Required permission

Pipeline

Pipeline group

Read and write

Request syntax

Central edition

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

Region edition

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

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

Personal access token.

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

Request parameters

Parameter

Type

Location

Required

Description

Example

organizationId

string

path

  • Yes: Central edition

  • No: Region edition

The ID of the organization.

5ebbc0228123212b59xxxxx

groupId

integer

path

Yes

The ID of the pipeline group.

111

name

string

query

Yes

The name of the pipeline group. The name must be unique within the organization.

Pipeline Group Name

Request examples

Central edition

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

Region edition

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

Response parameters

Parameter

Type

Description

Example

-

boolean

Whether the request was successful.

true

Response example

true

Error codes

For error codes, see Error Code Center.