Last updated: 2019-11-29 19:43:45

1. API Description

API domain name: emr.tencentcloudapi.com.

This API terminates one or more task nodes.

Default API request rate limit: 20 requests/sec.

2. Input Parameters

The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common parameter. The name of this API: TerminateTasks
Version Yes String Common parameter. The version of this API: 2019-01-03
Region Yes String Common parameter. For more information, see the list of regions supported by the product.
InstanceId Yes String ID of the instance to which the terminated node belongs
ResourceIds.N Yes Array of String ID of the terminated node

3. Output Parameters

Parameter name Type Description
Result TerminateResult Termination result
RequestId String The ID of the request. Each request returns a unique ID. The RequestId is required to troubleshoot issues.

4. Examples

Example 1. Terminating a Node

Terminate a task node

Input Sample Code

&<Common request parameter>

Output Sample Code

  "Response": {
    "Result": {
      "InstanceId": "emr-4slr7ad7",
      "ResourceIds": [
    "RequestId": "4d701c1e-8507-47e1-8c69-a8f06a236f24"

5. Developer Resources

API Explorer

This tool provides various capabilities such as online call, signature verification, SDK code generation, and quick API retrieval that significantly reduce the difficulty of using TencentCloud API.


TencentCloud API 3.0 integrates software development toolkits (SDKs) that support various programming languages to make it easier for you to call the APIs.

6. Error Codes

This API has no error codes related to business logic.