Querying the Recycling Policy
Function
This API is used to query the recycling policy.
URI
GET https://{Endpoint}/v3/{project_id}/instances/recycle-policy
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID of a user in a region. To obtain this value, see Obtaining a Project ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
recycle_policy |
object |
Recycling policy. For details, see Table 4. |
Example Requests
Example Responses
Status code: 200
Success
{ "recycle_policy": { "retention_period_in_days": 7 } }
Status Codes
For details, see Status Codes.
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.