All Products
Search
Document Center

Alibaba Cloud DevOps:CreatePipelineGroup

Last Updated:Apr 03, 2025

Creates a pipeline group.

Prerequisites

  • Replace <domain> in your API request URL with the endpoint that you obtain. For more information, see Endpoint.

  • Obtain your access token. For more information, see Obtain an access token.

Authorization information

Application

Resource

Required permission

Flow

Pipeline group

Read-write

Request syntax

POST https://{domain}/oapi/v1/flow/organizations/pipelineGroups

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

The access token.

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

Request parameters

Parameter

Type

Location

Required

Description

Example

name

string

query

Yes

Pipeline group name that is unique within the organization.

Pipeline Group Name

Sample request

curl -X 'POST' \
  'https://test.rdc.aliyuncs.com/oapi/v1/flow/organizations/pipelineGroups?name=Pipeline Group Name' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example

-

object

id

integer

Pipeline group ID.

111

name

string

Pipeline group name.

Pipeline Group Name

Sample success response

{
    "id": 111,
    "name": "Pipeline Group Name"
}

Error codes

For a list of error codes, see Service error codes.