You can call this operation to modify the expiration time of a connection address.

Note When an instance is in the hybrid access mode which includes a VPC network address and classic network address, this operation is used to extend the expiration time of the classic network address.


You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required? Example Description
Action String Yes ModifyDBInstanceNetworkExpireTime

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

DBInstanceId String Yes rm-uf6wjk5xxxxxxx

The ID of the instance.

ConnectionString String Yes

The classic network address to be extended. Two types of classic network addresses are provided:

  • The internal address of the classic network.
  • The read/write splitting address of the classic network.
ClassicExpiredDays Integer Yes 7

The retention days of the classic network address. Valid values:1 to 120. Unit: day.

AccessKeyId String No LTAIfCxxxxxxx

The AccessKey ID issued by Alibaba Cloud for users to access services.

Response parameters

Parameter Type Example Description
RequestId String 4C467B38-3910-447D-87BC-AC049166F216

The ID of the request.


Sample requests

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

Successful response examples

XML format


JSON format


Error codes

View error codes