How many days the provider keeps deleted websites (server.manage)
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/site-retentionHow many days the provider keeps deleted websites (server.manage)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required |
Responses
200 Setting
Content type: application/json
daysinteger required0 purges at the next minute; default 7
- minimum 0
- maximum 90
Example
{
"days": 0
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required