You can call this operation to upgrade the minor database version of a MongoDB instance.

The instance must be in the running state when you call this operation.


  • This operation is applicable to replica set instances and sharded cluster instances. UpgradeDBInstanceKernelVersion cannot be performed on standalone instances.
  • The instance will be restarted once during the upgrade. Perform this operation during off-peak hours.


OpenAPI Explorer simplifies API usage. You can use OpenAPI Explorer to perform debugging operations, such as retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String No UpgradeDBInstanceKernelVersion

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

DBInstanceId String No dds-bpxxxxxxxx

The ID of the instance.

AccessKeyId String No LTAIgbTGpxxxxxx

The AccessKey ID provided to you by Alibaba Cloud.

Response parameters

Parameter Type Example Description
RequestId String 27B9A130-7C4B-40D9-84E8-2FC081097AAC

The ID of the request.


Sample requests

http(s):// Action=UpgradeDBInstanceKernelVersion
&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

View error codes