API referenceSections

Use Let's Encrypt (the configured ACME CA) and issue now, even after a recent failure; audited

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/tenants/{tid}/panel-certificate/issue may answer 202

Use Let's Encrypt (the configured ACME CA) and issue now, even after a recent failure; audited

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
X-CSRF-Tokenheaderstringoptional

Required on unsafe requests authenticated by session cookie; API keys do not use it.

Responses

202 Issuing

Content type: application/json

  • hostname string required

    The panel's own name (ADR 0064)

  • mode string required
    Allowed values: "acme" "upload"
  • serving string required

    What browsers get for the panel's name now

    Allowed values: "self_signed" "acme" "upload"
  • state string required
    Allowed values: "none" "issuing" "active" "failed"
  • error_code string required
  • not_after string (date-time) | null required
  • issuer string required
  • trusted boolean required

    The chain verifies against the system's roots

  • method string required

    How the CA's check was answered: iis or standalone

  • last_attempt string (date-time) | null required
  • next_attempt string (date-time) | null required
  • acme_available boolean required

    An ACME certificate authority is configured

  • expires_soon boolean required

    Less than 21 days left

  • previous_hostname string optional

    The name before a rename, still served with its own certificate until previous_not_after (ADR 0196)

  • previous_not_after string (date-time) optional
Example
{
  "hostname": "string",
  "mode": "acme",
  "serving": "self_signed",
  "state": "none",
  "error_code": "string",
  "not_after": "2026-01-01T00:00:00Z",
  "issuer": "string",
  "trusted": true,
  "method": "string",
  "last_attempt": "2026-01-01T00:00:00Z",
  "next_attempt": "2026-01-01T00:00:00Z",
  "acme_available": true,
  "expires_soon": true,
  "previous_hostname": "string",
  "previous_not_after": "2026-01-01T00:00:00Z"
}

default Error

Content type: application/json

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