You can call the KillFlowJob operation to Terminates a job instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes KillFlowJob

The operation that you want to perform. Set the value to KillFlowJob.

JobInstanceId String Yes FJI-9DDAAA3ADA5F****

The ID of the job instance. You can call the DescribeFlowJob to view the job instance ID.

ProjectId String Yes FP-3535FE0BE522****

The ID of the project. You can call the ListFlowProject to view the ID of the project.

RegionId String Yes cn-hangzhou

The ID of the region. You can call the DescribeRegions operation to query the most recent region list.

Response parameters

Parameter Type Example Description
Data Boolean true

Returns the execution result, including the following:

  • true: The operation is successful.
  • false: The operation failed.
RequestId String B46F8A2A-B46B-415C-8A9C-B01B99B775A2

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=KillFlowJob
&JobInstanceId=FJI-9DDAAA3ADA5F****
&ProjectId=FP-3535FE0BE522****
&RegionId=cn-hangzhou
&<Common request parameters>|

Sample success responses

XML format

<RequestId>B46F8A2A-B46B-415C-8A9C-B01B99B775A2</RequestId>
<Data>true</Data>

JSON format

{
        "RequestId": "B46F8A2A-B46B-415C-8A9C-B01B99B775A2",
        "Data": true
}