CreatePipelineGroup - Create Pipeline Group
Creates a pipeline group.
|
Applicable editions |
Central edition, Region edition |
Endpoint and authorization information
-
Obtain the endpoint: Replace {domain} in the request syntax.
-
Obtain the organizationId: Required only for the Central edition. On the Basic Information page of the Organization Management console, obtain the organization ID.
|
Product |
Resource |
Required permission |
|
Pipeline |
Pipeline group |
Read and write |
Request syntax
Central edition
POST https://{domain}/oapi/v1/flow/organizations/{organizationId}/pipelineGroups
Region edition
POST https://{domain}/oapi/v1/flow/pipelineGroups
Request headers
|
Parameter |
Type |
Required |
Description |
Example value |
|
x-yunxiao-token |
string |
Yes |
Your personal access token. |
pt-0fh3****0fbG_35af****0484 |
Request parameters
|
Parameter |
Type |
Location |
Required |
Description |
Example value |
|
organizationId |
string |
path |
|
The organization ID. |
5ebbc0228123212b59xxxxx |
|
name |
string |
query |
Yes |
The name of the pipeline group. Must be unique within your organization. |
Pipeline group name |
Request examples
Central edition
curl -X 'POST' \
'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/pipelineGroups?name=Pipeline%20group%20name' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'POST' \
'https://{domain}/oapi/v1/flow/pipelineGroups?name=Pipeline%20group%20name' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
|
Parameter |
Type |
Description |
Example value |
| - |
object |
||
|
id |
integer |
The ID of the pipeline group. |
111 |
|
name |
string |
The name of the pipeline group. |
Pipeline group name |
Response example
{
"id": 111,
"name": "Pipeline group name"
}
Error codes
For more information, see Error codes.