TerminatePipeline
Terminates a pipeline.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
agentloop:TerminatePipeline |
none |
*Pipeline
|
None | None |
Request syntax
POST /agentspace/{agentSpace}/pipeline/{pipelineName}/terminate HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| agentSpace |
string |
No |
The name of the AgentSpace where the pipeline is located. |
my-agent-space |
| pipelineName |
string |
No |
The name of the pipeline to be terminated. |
my-pipeline |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| reason |
string |
No |
The reason for termination. |
project deprecated |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| requestId |
string |
The request ID used to locate the request during troubleshooting. |
9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M |
| pipelineName |
string |
The name of the pipeline. |
my-pipeline |
| agentSpaceName |
string |
The name of the AgentSpace. |
my-agent-space |
| scheduleStatus |
string |
The scheduling status. The value is fixed to Terminated, which is an irreversible desired state. |
Terminated |
| terminateTime |
string |
The termination time in ISO 8601 UTC format. |
2026-01-01T00:00:00.000Z |
| terminatedReason |
string |
The reason for termination. |
project deprecated |
Examples
Success response
JSON format
{
"requestId": "9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M",
"pipelineName": "my-pipeline",
"agentSpaceName": "my-agent-space",
"scheduleStatus": "Terminated",
"terminateTime": "2026-01-01T00:00:00.000Z",
"terminatedReason": "project deprecated"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.