This API is used to reset parameters of a specified DB instance to their default values.
PATH: /rds/v1/{project_id}/instances/{nodeId}/parameters/default
Method: PUT
Name |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID of a tenant in a region. |
nodeId |
Yes |
Specifies the primary node ID of the DB instance. NOTE:
This field is not the DB instance ID. You are advised to use API v3 and the DB instance ID to perform related operations. |
{}
Note: Curly brackets {} indicate that the API does not obtain the data in the request body.
Name |
Type |
Description |
---|---|---|
shouldRestart |
String |
Indicates whether the parameter needs to be restarted for the modifications to take effect.
|
setParameteResult |
String |
Indicates the parameter modification result.
|
{ "shouldRestart": "1", "setParameteResult": "0" }
For details, see Abnormal Request Results.