DeletePipeline - Delete Pipeline
Deletes a specified pipeline.
|
Applicable editions |
Central edition, Region edition |
Service Endpoints and Authorization Information
-
Obtain a service endpoint: Replace {domain} in the API request syntax.
-
Obtain the organization ID: Required only for Central edition. Navigate to the Basic Information page in the Organization Management console to retrieve the organization ID.
|
Product |
Resource |
Required Permissions |
|
Pipeline |
Pipeline |
Read/Write |
Request Syntax
Central edition
DELETE https://{domain}/oapi/v1/flow/organizations/{organizationId}/pipelines/{pipelineId}
Region edition
DELETE https://{domain}/oapi/v1/flow/pipelines/{pipelineId}
Request Headers
|
Parameter |
Type |
Required |
Description |
Example Value |
|
x-yunxiao-token |
string |
Yes |
The personal access token. |
pt-0fh3****0fbG_35af****0484 |
Request Parameters
|
Parameter |
Type |
Location |
Required |
Description |
Example Value |
|
organizationId |
string |
path |
|
The enterprise ID. |
5ebbc0228123212b59xxxxx |
|
pipelineId |
string |
path |
Yes |
The pipeline ID. |
123 |
Request Examples
Central edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/flow/organizations/5ebbc0228123212b59xxxxx/pipelines/123' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Region edition
curl -X 'DELETE' \
'https://{domain}/oapi/v1/flow/pipelines/123' \
-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 Error codes.