This API is used to modify the recycling policy for the recycle bin.
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. |
Name |
Mandatory |
Type |
Description |
---|---|---|---|
recycle_policy |
Yes |
Object |
Each element is associated with the recycle bin. For details on the element structure, see Table 3. |
PUT https://rds.eu-de.otc.t-systems.com/v3/054ea741f700d4a32f1bc00f5c80dd4c/instances/recycle-policy
{ "recycle_policy": { "retention_period_in_days":"1" } }
Name |
Type |
Description |
---|---|---|
result |
String |
Returns success if the invoking is successful. |
{ "result": "success" }
For details, see Abnormal Request Results.
For details, see Status Codes.
For details, see Error Codes.