This API is used to change an instance name. Before calling this API:
PUT https://{Endpoint}/v3/{project_id}/instances/{instance_id}/name
https://gaussdb.eu-de.otc.t-systems.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in14/name
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Project ID of a tenant in a region. To obtain this value, see Obtaining a Project ID. |
instance_id |
Yes |
DB instance ID. |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
name |
Yes |
String |
DB instance name. Instances of the same type can have same names under the same tenant. The name must consist of 4 to 64 characters and start with a letter. It can contain only letters (case-sensitive), digits, hyphens (-), and underscores (_). |
{ "name": "instance-name" }
Name |
Type |
Description |
---|---|---|
job_id |
String |
Task ID for changing an instance name. |
{ "job_id": "2b414788a6004883a02390e2eb0ea227" }
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.