Updated on 2026-01-12 GMT+08:00

Deleting a Pipeline

Function

This API is used to delete a pipeline based on the pipeline ID.

Calling Method

For details, see Calling APIs.

URI

DELETE /v3/pipelines/{pipeline_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

pipeline_id

Yes

String

ID of the pipeline to be deleted.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

No

String

User token. Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API for .

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

pipeline_id

String

Pipeline ID.

pipeline_name

String

Pipeline name.

Status code: 400

Table 4 Response body parameters

Parameter

Type

Description

error_msg

String

Parameter description:

Error message.

Value range:

N/A

error_code

String

Parameter description:

Error code.

Value range:

N/A

Example Requests

DELETE https://{endpoint}/v3/pipelines/8025ba36a87a4dd5af496708c2961817

Example Responses

Status code: 200

OK

{
  "pipeline_id" : "eafaff0bf9094d3d8456d13dddf67b40",
  "pipeline_name" : "pipeline-test"
}

Status Codes

Status Code

Description

200

OK

400

Bad request

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.