Querying the Recycling Policy
Function
This API is used to query the recycling policy.
URI
GET /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 Request
Example Response
Status code: 200
Success
{ "recycle_policy": { "retention_period_in_days": 7 } }
Status Codes
See Status Codes.
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.