Creates a pipeline group.
Endpoint and authorization information
-
Obtain the endpoint: Replace {domain} in the request syntax.
|
Product |
Resource |
Required permission |
|
Pipeline |
Pipeline group |
Read and write |
Request syntax
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 |
|
name |
string |
query |
Yes |
The name of the pipeline group. Must be unique within your organization. |
Pipeline group name |
Request examples
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.