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 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 UpgradeDBInstanceKernelVersion

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

DBInstanceId String No dds-bpxxxxxxxx

The ID of the instance.

RegionId String No cn-hangzhou

The region ID of the instance. You can call the DescribeRegions operation to query the region ID of the instance.

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>

Sample success responses

XML format


JSON format

	"RequestId": "27B9A130-7C4B-40D9-84E8-2FC081097AAC"

Error codes

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