This API is used to reset a database password. Before calling this API:
POST https://{Endpoint}/v3/{project_id}/instances/{instance_id}/password
https://gaussdb.eu-de.otc.t-systems.com/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/password
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 |
---|---|---|---|
password |
Yes |
String |
Password for user root. The password must: |
{ "password": "******" }
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.