You need to enable JavaScript to run this app.
Code Pipeline

Code Pipeline

Copy page
Download PDF
The pipeline operation
CancelPipelineRun
Copy page
Download PDF
CancelPipelineRun
Cancel the running pipeline​
Request description​
To achieve low latency, it is recommended that you select the corresponding service address based on the Region where your resources are located. For details, see Service address.​
  • Request method: POST​
  • Request URL: https://cp.cn-beijing.volcengineapi.com?Action=CancelPipelineRun&Version=2023-05-01​
Request parameters​
​
Parameter​
Type​
Required​
Sample Value​
Description​
Action​
String​
Yes​
CancelPipelineRun​
The API name. The name of the current API is CancelPipelineRun.​
Version​
String​
Yes​
2023-05-01​
The API version. The current version of the API is 2023-05-01.​
WorkspaceId​
String​
Yes​
60cb460122422352a334****​
The workspace ID.​
PipelineId​
String​
Yes​
c3afa3f27d754ac8b6052bf3dc0b****​
Pipeline ID.​
Id​
String​
Yes​
c9020f1a904c41e4bc25afc96316****​
Pipeline run ID.​
​
Sample requests​
​
POST https://cp.cn-beijing.volcengineapi.com?Action=CancelPipelineRun&Version=2023-05-01 HTTP/1.1​
Content-Type: application/json​
{​
"WorkspaceId": "60cb460122422352a334****",​
"PipelineId": "c3afa3f27d754ac8b6052bf3dc0b****",​
"Id": "c9020f1a904c41e4bc25afc96316****"​
}​
​
Response parameters​
This API does not have any unique return parameters.​
Sample response​
​
HTTP/1.1 200 OK​
Content-Type: application/json​
{​
"ResponseMetadata": {​
"RequestId": "202404071710430739950998FB2847****",​
"Action": "CancelPipelineRun",​
"Version": "2023-05-01",​
"Service": "cp",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
Error code​
This API currently does not have independent error codes. If an exception occurs when calling the API, you can refer to common error codes for troubleshooting.​
Last updated: 2025.09.10 17:37:28