This API is used to modify the value of a specified parameter for an instance.
PUT https://{Endpoint}/v3/{project_id}/instances/{instance_id}/parameter/{name}
Parameter |
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. |
name |
Yes |
Parameter name. Only the shared_preload_libraries parameter can be modified. The default value is shared_preload_libraries. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
Content-Type |
Yes |
String |
The content type. The default value is application/json. |
X-Auth-Token |
Yes |
String |
Specifies the user token. The user token is a response to the API used to obtain a user token. |
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
value |
Yes |
String |
Parameter value. |
Change the value of shared_preload_libraries for a DB instance.
PUT https://rds.eu-de.otc.t-systems.com/v3/054e292c9880d4992f02c0196d3ea468/instances/f569f1358436479dbcba8603c32cc4aein03/parameter/shared_preload_libraries
{
"value" : "passwordcheck.so,pg_stat_statements,pg_sql_history"
}
Parameter |
Type |
Description |
|---|---|---|
job_id |
String |
Task ID. |
restart_required |
Boolean |
Whether a reboot is required. The value can be:
|
{
"job_id" : "e7a7535b-eb9b-45ac-a83a-020dc5016d94",
"restart_required" : true
}
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.