Skip to main content
PUT
Replace TLS configuration

Authorizations

Authorization
string
header
required

Access key beginning with APTRANET_.

Aptranet-Secret
string
header
required

Current secret paired with the access key.

Query Parameters

distribution
integer
required

Distribution identifier.

Required range: x >= 1

Body

application/json
enable_https
boolean
required
https_redirect
boolean
required
enable_http3
boolean
required
tls_versions_support
object
required
custom_sni_hostname
object
required
origin_tls_validation
boolean
required
certificate_id
integer | null

Select a certificate from the same project. Explicit 0 selects automatic management. Omit to preserve the current binding when HTTPS is already enabled.

Required range: x >= 0

Response

TLS configuration updated.