API referenceSections

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-retention

How many days the provider keeps deleted websites (server.manage)

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Setting

Content type: application/json

  • days integer required

    0 purges at the next minute; default 7

    • minimum 0
    • maximum 90
Example
{
  "days": 0
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required