Confirms the device update tasks that are in the pending confirmation status.

Usage notes

To confirm update tasks in a scheduled update batch, you must call this operation within the specified time range.


Each Alibaba Cloud account can run a maximum of 10 queries per second (QPS).

Note RAM users of an Alibaba Cloud account share the quota of the account.


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

Request parameters

Parameter Type Required Example Description
Action String Yes ConfirmOTATask

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

TaskId.N RepeatList Yes y3tOmCDNgpR8F9jnVEzC01****

The ID of the update task to be confirmed. You can specify a maximum of 10 task IDs.

IotInstanceId String No iot-v64********

The ID of the instance.

You do not need to specify this parameter.

In addition to the preceding operation-specific request parameters, you must specify common request parameters when you call this operation. For more information, see Common request parameters.

Response parameters

Parameter Type Example Description
Code String iot.system.SystemException

The error code returned if the call fails. For more information, see Error codes.

ErrorMessage String A system exception occurred.

The error message returned if the call fails.

RequestId String A59D3BE1-E9A3-43F3-9B50-B7C8DE165D9B

The ID of the request.

Success Boolean true

Indicates whether the call was successful.

  • true: The call was successful.
  • false: The call failed.


Sample requests

&<Common request parameters>

Sample success response

XML format


JSON format

    "RequestId": "A59D3BE1-E9A3-43F3-9B50-B7C8DE165D9B",
    "Success": true

Error codes

For a list of error codes, visit the API Error Center.