Set the panel's name; in ACME mode a certificate for it is issued at once; audited
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
/api/v1/tenants/{tid}/panel-certificateSet the panel's name; in ACME mode a certificate for it is issued at once; audited
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
- no other properties
hostnamestring required
Example
{
"hostname": "string"
}Responses
200 Certificate
Content type: application/json
hostnamestring requiredThe panel's own name (ADR 0064)
modestring requiredAllowed values:"acme""upload"servingstring requiredWhat browsers get for the panel's name now
Allowed values:"self_signed""acme""upload"statestring requiredAllowed values:"none""issuing""active""failed"error_codestring requirednot_afterstring (date-time) | null requiredissuerstring requiredtrustedboolean requiredThe chain verifies against the system's roots
methodstring requiredHow the CA's check was answered: iis or standalone
last_attemptstring (date-time) | null requirednext_attemptstring (date-time) | null requiredacme_availableboolean requiredAn ACME certificate authority is configured
expires_soonboolean requiredLess than 21 days left
previous_hostnamestring optionalThe name before a rename, still served with its own certificate until previous_not_after (ADR 0196)
previous_not_afterstring (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
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required