Name the server's mail host and issue its certificate; needs server.manage
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
PUT
/api/v1/tenants/{tid}/servers/{id}/mail-hostName the server's mail host and issue its certificate; needs server.manage (ADR 0039)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required |
Request body
required
Content type: application/json
object
hostnamestring requiredA full name such as mail.example.com that points at the server
Example
{
"hostname": "string"
}Responses
200 Issuing
Content type: application/json
server_idstring optionalhostnamestring optionaltlsstring optionalAllowed values:"issuing""renewing""active""failed"not_afterstring (date-time) | null optionalerror_codestring optionalwebmailstring optionalHTTPS address of webmail, empty until the certificate is installed
portsarray<object> optionalprotocolstring optionalAllowed values:"imap""pop3""smtp"portinteger optionalsecuritystring optionalAllowed values:"ssl""starttls"
Example
{
"host": {
"server_id": "string",
"hostname": "string",
"tls": "issuing",
"not_after": "2026-01-01T00:00:00Z",
"error_code": "string",
"webmail": "string",
"ports": [
{
"protocol": "imap",
"port": 0,
"security": "ssl"
}
]
}
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required