Modifying Recycling Policy

Function

This API is used to modify the recycling policy for the recycle bin.

URI

Request

Example Request

Set the retention period of instances in the recycle bin to one day.

PUT https://rds.eu-de.otc.t-systems.com/v3/054ea741f700d4a32f1bc00f5c80dd4c/instances/recycle-policy

{
     "recycle_policy":{
                 "retention_period_in_days":"1"
               }
}

Response

Status Code

Error Code

For details, see Error Codes.