Modifying a DB Instance Name
Function
This API is used to modify a DB instance name.
Constraints
The name of the DB instance that is being created or fails to be created cannot be modified.
URI
Requests
- Parameter description
Table 2 Parameter description Name
Mandatory
Type
Description
new_instance_name
Yes
String
Specifies the DB instance name. The DB instance name of the same DB engine is unique for the same tenant.
The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_).
- Request header
PUT https://DDS endpoint/v3/{project_id}/instances/{instance_id}/modify-name - Example request
{ "new_instance_name": "myNewName" }
Responses
- Response example
{}
Status Code
For more information, see Status Code.
Error Code
For more information, see Error Code.
Last Article: Enabling or Disabling SSL
Next Article: Changing a Database Port
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.