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}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| pipeline_id | Yes | String | ID of the pipeline to be deleted. |
Request 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
| Parameter | Type | Description |
|---|---|---|
| pipeline_id | String | Pipeline ID. |
| pipeline_name | String | Pipeline name. |
Status code: 400
| 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot