This API is used to reset a database password.
POST https://{Endpoint}/opengauss/v3/{project_id}/instances/{instance_id}/password
https://gaussdb.eu-de.otc.t-systems.com/opengauss/v3/0483b6b16e954cb88930a360d2c4e663/instances/dsfae23fsfdsae3435in01/password
Name |
Mandatory |
Description |
|---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. For details about how to obtain the project ID, see Obtaining a Project ID. |
instance_id |
Yes |
Specifies the DB instance ID, which is compliant with the UUID format. |
Name |
Mandatory |
Type |
Description |
|---|---|---|---|
password |
Yes |
String |
Specifies the password for user root.
|
{
"password": "Test_345612"
}
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.