This API is used to modify a DB instance name.
The name of the DB instance that is being created or fails to be created cannot be modified.
PUT https://{Endpoint}/v3/{project_id}/instances/{instance_id}/modify-name
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. |
instance_id |
Yes |
Specifies the instance ID, which can be obtained by calling the API for querying instances. If you do not have an instance, you can call the API used for creating an instance. |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
new_instance_name |
Yes |
String |
Specifies the DB instance name. The instance name can be the same as an existing instance name.
|
{}
For more information, see Error Code.